After working with Azure Bicep for some time, I'd like to share the daily tips and tricks that I have gathered. These insights will not only make writing Azure Bicep code more enjoyable but also significantly improve its readability. #1: Adopt a prefix convention Azure Bicep aims to improve and simplify the authoring experience with … Continue reading Azure Bicep Tips & Tricks
Category: infrastructure-as-code
Subnetting in Azure Bicep
In this blog, I am writing about Bicep CIDR functions and will show a practical example on how to use this. With these CIDR functions subnetting in Bicep has been made easier. We can now create subnets programmatically. What is CIDR? CIDR stands for Classless Inter-Domain Routing and it is a method of allocating IP … Continue reading Subnetting in Azure Bicep
Three use cases for using GitHub Copilot with Azure Bicep
I have been using GitHub Copilot for a while now, and I love it! The AI assistant has significantly improved my coding efficiency and productivity. It suggests code snippets, assists with writing documentation (primarily descriptions and metadata), and even generates code based on my questions. What is GitHub Copilot? GitHub Copilot is a productivity tool … Continue reading Three use cases for using GitHub Copilot with Azure Bicep
DeploymentNotFound error using Azure Bicep modules
Did you ever have the DeploymentNotFound error when using Azure Bicep without any syntax errors? I had the same problem. In this blog post, I will tell you more about the DeploymentNotFound error, its causes, and how to fix it. Example Bicep template To demonstrate and simulate the DeploymentNotFound error, I created a Bicep file … Continue reading DeploymentNotFound error using Azure Bicep modules
Run PowerShell scripts with Azure Bicep
Did you know you can run Azure PowerShell or CLI scripts with Bicep? With Microsoft.Resources/deploymentScripts you can execute scripts in a Bicep deployment. In addition, you can work with the outputs of the script that you ran. This opens loads of automation possibilities and flexibility. What are Deployment Scripts? The deploymentScript resource can run PowerShell … Continue reading Run PowerShell scripts with Azure Bicep




