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.