Skip to content

Durwella/Durwella.Azure.ArmTesting

Repository files navigation

Durwella.Azure.ArmTesting

Save time catching errors locally in ARM templates before trying to deploy them!
We know how it feels to wait 20 minutes for an ARM template to deploy only to find out it had some minor problem! 😣

Usage

Add your ARM Templates to a .csproj project. Add a package reference to Durwella.Azure.ArmTesting.Build. That's it!

A build target will be added to your project. That build target will search for .json files that smell like ARM templates. It will then check them for basic problems (e.g. storage account name must be between 3 and 24 characters in length). It should only take a fraction of a second. No resources are harmed in the process!

Open an Issue to request support for a particular check.

Limitations

  • .deployproj projects are not yet supported. 😞
  • Evaluation of ARM functions is not yet supported
  • Really only checking one thing right now... But you can submit an issue to request something specific!

References

About

Save time catching errors locally in ARM templates before trying to deploy them!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages