Setting up ARM-TTK test toolkit
Azure Resource Manager templates allow you to build resources in Azure in a repeatable way, many times you need, but while writing this resource, how can you ensure the code has no errors before you apply? How can you check if good practices are in place? How can you test it before the deployment? Azure Resource Manager Template Toolkit (ARM-TTK) can spot errors and bad practices. It acts as a linter for ARM templates. Today we have our Azuretar contributor Microsoft Azure MVP Tao Yang to introduce ARM-TTK, and of course, we have a demo!
You can get ARM-TTK from Azure’s Github at https://github.com/Azure/arm-ttk ARM-TTK is also availiable on GitHub Super Linter. Run ARM-TTK linter on your current folder using the Super Linter container on PowerShell with the following command:
docker run -e RUN_LOCAL=true -v $pwd
:/tmp/lint github/super-linter`
From Linux bash run with:
docker run --rm -e RUN_LOCAL=true -v $(pwd):/tmp/lint github/super-linter
Stay tuned for the next videos.
Follow us on Twitter
@azuretar @MrTaoYang @JorgeArteiro @FernandoRolnik
Subscribe the Azuretar YouTube Channel