The AzureRM provider lets Terraform manage Microsoft Azure resources through Azure Resource Manager from declarative configuration.
Overview
The AzureRM Terraform Provider is the HashiCorp-maintained plugin for provisioning and updating Azure infrastructure with Terraform. Registry documentation lists data sources and resources across compute, networking, storage, databases, identity, monitoring, and many other Azure service areas.
Configurations declare a required_providers block for hashicorp/azurerm, configure the provider with a features block, and define resources such as resource groups, virtual networks, and other ARM-backed objects. Usage examples and an examples folder illustrate common patterns.
Authentication can use the Azure CLI locally or non-interactive methods such as managed identity, service principals with certificates or secrets, and OpenID Connect, as described in provider guides. Provider arguments cover subscription, tenant, client credentials, and cloud environment selection.
The provider runs as part of the Terraform CLI workflow; it translates plans into Azure API calls rather than hosting Azure services itself.
Key features
- Azure Resource Manager coverage
- Broad resource and data sources
- Multiple authentication methods
- Service principal and MSI support
- Azure CLI authentication path
- Configurable provider features block
- Registry documentation and examples
- Maintained with Microsoft Azure team
Use cases
- Infrastructure as code on Azure
- Resource group and network setup
- CI/CD non-interactive Azure deploys
- Multi-subscription Terraform layouts
- Managing diverse Azure services uniformly