Summary
This chapter was the start of your journey once you have written your templates and they are ready to be deployed. We reviewed how to validate and deploy your templates with the Azure CLI and Azure PowerShell from your local development environment. We also looked at some common compile-time and runtime errors and how to resolve them. Hopefully, this chapter has helped you start testing your templates locally and identifying the causes of any possible issues you might face pre or post-deployment. This chapter should have also increased your confidence in your templates so that you can commit them, along with the rest of the code, if you have Infrastructure as Code (IaC) in place.
In the next chapter, we will go beyond local deployment and delve into deploying our templates as part of CI/CD pipelines.