What is the difference between ARM templates, Bicep and Terraform at a high level?
BeginnerConceptFundamentals and Resource Hierarchy
Answer
- ARM templates: JSON, native, the format ARM actually executes. Verbose.
- Bicep: a DSL that compiles to ARM JSON. Native, day-zero support for new API versions, no state file (ARM is the state),
what-iffor previews. - Terraform azurerm: HCL, multi-cloud, explicit state file, rich plan output, huge module ecosystem. New Azure features sometimes lag until the provider adds them; the
azapiprovider fills that gap.
Teams that are Azure-only and want no state management lean Bicep; teams with multi-cloud or existing Terraform estates stay with Terraform.
More on Fundamentals and Resource Hierarchy
Explain the Azure resource hierarchy from top to bottom.BeginnerWhat is the difference between an Entra tenant and a subscription?BeginnerWhat should go into a resource group and what should not?BeginnerWhat are regions, region pairs and availability zones in Azure?BeginnerWhy do logical zone numbers differ between subscriptions?IntermediateWhat is Azure Resource Manager (ARM)?Beginner