Skip to content

Bicep extension not able to validate loadBalancer apiVersion correctly, suggesting old version #3580

@NiklasEMS

Description

@NiklasEMS

Bicep version
0.38.33

Describe the bug
Warns that apiVersion is invalid and suggest really old apiVersion instead of allowing latest.

To Reproduce
internal-load-balancer.json
with :
"type": "Microsoft.Network/loadBalancers",
"apiVersion": "2024-05-01",
->
Value is not accepted. Valid values: "2017-09-01".(1)
API Version of the resource type, optional when apiProfile is used on the template

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions