Skip to content

Automated Update of API versions in Bicep templates, reasonable? #10306

Answered by brwilkinson
J0F3 asked this question in General
Discussion options

You must be logged in to vote

Hi @J0F3 that document link you sent is accurate. The guidance is equal for Bicep as ARM json.

In fact they removed to ability to have dynamic variables in Bicep by using a parameter. To encourage static api versions.

adding the two paragraphs from the docs.

  • Set the apiVersion property to a hard-coded API version for the resource type. When creating a new template, we recommend you use the latest API version for a resource type. To determine available values, see template reference.

  • When your template works as expected, we recommend you continue using the same API version. By using the same API version, you don't have to worry about breaking changes that might be introduced in later v…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@J0F3
Comment options

Answer selected by J0F3
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@J0F3
Comment options

@gevaertw
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants