Skip to content

lwajswaj/azure-arm-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Testing Azure RM Templates with Pester

These repo contains a Pester script to test common mistake when authoring ARM Templates which can help to reduce the development time. The tests are aimed to validate:

  • JSON Structure: it doesn't have syntax errors
  • Referenced Parameters: All parameters referenced in the json file are defined in the parameters section
  • References Variables: All variables referenced in the json file are defined in the variables section
  • Missing opening or closing square brackets/parenthesis: All lines aren't missing any of these two opening/closing symbols
  • Azure API Validation: Use Test-AzureRmResourceGroupDeployment to complete validation against Azure

More details can be found at my blog entry

About

This repo contains a Pester script to test/validate Azure ARM Template for common mistakes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published