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
Tag: infrastructure-as-code
Azure Bicep lambda expressions
If you have a C# (or almost any other language) development background, this will be familiar to you. Recently, the Bicep team introduced lambda expressions. With the introduction of lambda expressions in Azure Bicep, you can manipulate arrays. In Bicep, the operator declaration is =>. The new functions that support lambda's and are implemented: filter() … Continue reading Azure Bicep lambda expressions
Generate Azure Bicep parameters with Azure CLI or Visual Studio Code
With version 0.7.4 of Azure Bicep, the feature “generate Bicep parameters” was introduced. In this blog, you will read about how to generate parameters from a Bicep template using the Azure CLI or Bicep Visual Studio Code extension. Example Bicep template To illustrate how generating parameters works, I have created an example Bicep template. The … Continue reading Generate Azure Bicep parameters with Azure CLI or Visual Studio Code
Azure Bicep output and accessing nested child resources
In this post, I am going to write about what an Azure Bicep output is and how you can work with output, and how you can access nested child resources in Azure Bicep. Using outputs can be useful to retrieve specific resource or module properties (for example resourceIds or names) and pass these to input … Continue reading Azure Bicep output and accessing nested child resources
Azure Bicep validation in a pull request with Azure DevOps
In this blog I am going to write about how you can automatically validate Bicep template changes inside a pull request in Azure DevOps. This validation step can help identify errors written in a template or parameter file. These errors can be syntactical or input-based errors. The techniques used in this blog are: Azure CLI, … Continue reading Azure Bicep validation in a pull request with Azure DevOps