Rapid-fire: deployment and IaC commands.
IntermediateConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
az bicep build -f main.bicep # compile to ARM JSON
az bicep decompile -f template.json # ARM JSON to Bicep
az deployment group validate -g rg -f main.bicep -p @prod.bicepparam
az deployment group what-if -g rg -f main.bicep -p @prod.bicepparam
az deployment group create -g rg -f main.bicep -p @prod.bicepparam --name shop-$(date +%s)
az deployment operation group list -g rg -n <deployment> --query "[?properties.provisioningState=='Failed']"
az deployment sub create -l centralindia -f sub.bicep
terraform init -backend-config=prod.backend.hcl
terraform plan -out tfplan && terraform apply tfplan
More on Policy, Cost, AWS Mapping and Rapid-fire
What is Azure Policy and what effects can a policy have?BeginnerAzure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?Beginner