Recommendation for Reviewing/Updating API Versions #5675
Replies: 2 comments 2 replies
-
I think another perspective on this is looking at this from a feature perspective. One common and easy to understand feature is availability Zones or Zone redundancy. To be zone redundant, you need a supported Region, then you need a specific API version for a resource type and then you need a specific setting on the resource such as a Standard load balancer or publicip. So then looking at that how do you migrate from Availability Sets to Availability Zones? You need to deploy net new resources in Zone redundant format, then decommission the resources e.g. VM's in an availability set. In order to do this, you can update the API version, to get the Zone capabilities, however these API's are as backwards compatible, if you want to still deploy availability sets, you can, you just need to build your templates in a conditional way to give the consumer the option to choose or to support both green/brownfields deployments, with a single set of templates, that leverage the later API version. |
Beta Was this translation helpful? Give feedback.
-
We're porting the ARM TTK rule for this: #2470 |
Beta Was this translation helpful? Give feedback.
-
What's the recommended approach for knowing when to review past modules/templates and make or test an update to the API Version for a resource type?
If new features are added to a service, that's a good reason to review. Any other thoughts (for example, is there a way to know when an API Version would soon be deprecated or really needs updating)?
Appreciate the discussion and enjoying working with Bicep!
Beta Was this translation helpful? Give feedback.
All reactions