Simplify Azure deployments and ensure consistency by using template specs
What are Azure Template Specs ?
Azure Resource Manager template specs are native resources in Azure. We we can use them for storing an ARM Template. This template can then be used to deploy objects into our Azure cloud environments.
We look at how we can abstract some of the technical information required for creating resources in our environments. This can make it a lot easier for users to deploy resources and also ensures we have consistency in our builds.
There are many ways to do this, including advanced ways to include approval workflows and Azure DevOps etc. In this example we are just talking about a simple way for users to fill in a form and deploy a resource.
The accompanying video can be found here : –
Using Conditions in ARM templates
I used the condition logic in this great article here and built up on it for this template spec demo. The link is here : – https://azure.microsoft.com/en-gb/blog/create-flexible-arm-templates-using-conditions-and-logical-functions/
You can download our example template here:- https://github.com/lanetgithub/iactraining/blob/main/VMTemplateSpec.json
Thank you for visiting and we hope you found this useful.