When writing our ARM templates with Visual Studio Code, there is a feature that is usually overlooked but saves a lot of time by making sure that you don’t have typos being pushed to your release pipelines. (And it saves money by reducing the release pipeline time.) It also gives you good recommendations, such as repeated code that can be removed to clean your code.
To view the status of your ARM template, click on the two icons highlighted on Item 1, and view the recommendations before submitting a commit of your code.
In the example below, I hadn’t noticed that I had added the action item twice.
As you can see, Visual Studio Code warned me, making my job much easier.
More Quick Tips articles
- New from Microsoft: Azure Security Center onboarding guide
- Fixing Azure Key Vault when moving to a different tenant
- Restore Azure Key Vault using just two PowerShell cmdlets
- Enabling Front Door managed certificates in Azure: Status update
- How to quickly check the status of all your Azure services