Building an ARM repository

Not only are we going to build PowerShell modules, but we are also going to build ARM templates. These templates need to be checked with the best practices the community can offer. Also we need to have a way of storing them and distributing them.

With the preview release of Azure Template Specs it is now possible to store templates in the Azure portal direct.

Template Specs is a new resource type for storing ARM templates in your resource groups for faster sharing, deployment, and role-based access control (RBAC) on those Templates shared within an organization. Template Specs addresses today’s biggest challenges around ARM template management, storage, and access.

With this we can use the Azure DevOps environment to check and upload the ARM files. The ARM files will first be checked using ARM-TTK and after that AzSK. The first check will check the ARM files on best practices for template creation. The second check will check if the ARM templates are secure.

EelcoLabordus/ARM-Repo (github.com)

The CICD pipeline consist out of to parts the first part (BUILD) will validate the ARM files and the second part (Release) will upload the files into the desired Resource group in Azure.

After the publishing of the Azure ARM Template Spec you need to be able to deploy these templates. One of the site notes for now is that this future is still in preview. For this reason the link to the original site is : TemplateSpec