Chapter 9: Deploying a Local Template
Now that you have learned all about Bicep and its mechanics, it is time to learn how to deploy your templates. For you to be confident about your templates and their results, you need to test them locally and make sure there are no errors or warnings that might cause trouble later during the deployment.
In this chapter, you will learn how to compile your Bicep files, test your deployment without deploying the template, and how to deal with potential warnings and errors. Once you have finished reading this chapter, you will be able to commit your templates into your source code repository with confidence, ready for deployment. You will also know how to deal with possible issues before and during deployment.
In this chapter, we are going to cover the following main topics:
- Deploying Bicep with Azure PowerShell
- Deploying Bicep with the Azure CLI
- Troubleshooting potential warnings and errors