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
Tag: azure
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
Reference Key Vault secrets using Azure Bicep
Security plays a big role in IT. When you write almost everything as code, you know it is a no-go to write passwords, personal access tokens or other secrets hard-coded and commit these in your source control. To avoid a check-in of secrets in your source control, you can use Azure Key Vault to "host" … Continue reading Reference Key Vault secrets using Azure Bicep
Convert ARM templates to Azure Bicep
In this blog post, I am going to write about the differences between Azure ARM and Azure Bicep. What is Azure ARM or Bicep, what are the syntactic differences and how you can use Azure CLI to convert your existing ARM templates to Bicep templates. What is Azure ARM or Azure Bicep? Azure ARM and … Continue reading Convert ARM templates to Azure Bicep