Interview Prep/Azure/Fundamentals and Resource Hierarchy

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-if for 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 azapi provider 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.

Azure All Azure questions Roadmap: Azure core services

More on Fundamentals and Resource Hierarchy