What is Bicep and what does a basic module look like?
BeginnerConceptAzure DevOps, Bicep and Terraform
Answer
Bicep is a declarative DSL compiled to ARM JSON. Type-safe, IntelliSense in VS Code, modules, loops, conditions.
param location string = resourceGroup().location
param name string
resource acr 'Microsoft.ContainerRegistry/registries@2023-07-01' = {
name: name
location: location
sku: { name: 'Standard' }
properties: { adminUserEnabled: false }
}
output loginServer string = acr.properties.loginServer
az deployment group create -g rg-shop -f acr.bicep -p name=acrshop
More on Azure DevOps, Bicep and Terraform
What services make up Azure DevOps?BeginnerWhat are branch policies in Azure Repos?BeginnerExplain the YAML pipeline structure in Azure Pipelines.BeginnerWhat are service connections and how should they authenticate?IntermediateWhat are environments in Azure Pipelines?IntermediateWhat deployment strategies do deployment jobs support?Intermediate