A Terraform provider that lets Terraform create, change and destroy AWS resources through declarative configuration.
hashicorp/terraform-provider-azurerm
A Terraform provider that lets you create and manage Microsoft Azure resources through Azure Resource Manager as code.
- Stars
- 4,983
- Forks
- 5,077
- Open issues
- 2,964
- Last commit
- 20 hours ago
What is it?
The AzureRM provider is a plugin for Terraform, the infrastructure-as-code tool, that maps Terraform resource definitions to Azure Resource Manager APIs. Users declare resources such as resource groups and virtual networks in HCL configuration files, and Terraform calls Azure to create, update, or delete them to match the declared state.
The provider supports several authentication methods, including the Azure CLI, Managed Identity, and Service Principal. Its features block lets users adjust provider behaviour, such as how resources are handled on deletion. Usage documentation is published in the Terraform Registry, and the repository includes example configurations in an examples folder.
The project is written in Go and licensed under MPL-2.0. Contributors can find build and development guides in the contributing directory.
Key features
- 01Manages Azure resources such as resource groups and virtual networks declaratively through Terraform configuration.
- 02Supports Azure CLI, Managed Identity, and Service Principal authentication.
- 03Provides a features block to control provider-level behaviour.
- 04Ships usage examples and full documentation in the Terraform Registry.
Use cases
- Provisioning and versioning Azure infrastructure as code across environments.
- Automating the creation of networks and resource groups for application deployments.
- Reviewing infrastructure changes through Terraform plans before applying them to Azure.
Quick start
- 1
Declare the AzureRM provider and its version in a Terraform configuration
- 2
Configure the provider with an authentication method and the features block
- 3
Define Azure resources such as a resource group and a virtual network
Things to know
- Requires an Azure subscription and valid credentials to manage resources.
Topics
FAQ
- What is terraform-provider-azurerm?
- A Terraform provider that lets you create and manage Microsoft Azure resources through Azure Resource Manager as code. The AzureRM provider is a plugin for Terraform, the infrastructure-as-code tool, that maps Terraform resource definitions to Azure Resource Manager APIs. Users declare resources such as resource groups and virtual networks in HCL configuration files, and Terraform calls Azure to create, update, or delete them to match the declared state.
- Is terraform-provider-azurerm free to use? What license does it have?
- terraform-provider-azurerm is open source under the MPL-2.0 license. Check the license terms before using it in commercial products.
- Is terraform-provider-azurerm still maintained?
- Actively maintained. The last commit to terraform-provider-azurerm was on Nov 6, 2026.
- What can I use terraform-provider-azurerm for?
- Provisioning and versioning Azure infrastructure as code across environments. Automating the creation of networks and resource groups for application deployments. Reviewing infrastructure changes through Terraform plans before applying them to Azure.
- How do I install terraform-provider-azurerm?
- Declare the AzureRM provider and its version in a Terraform configuration Configure the provider with an authentication method and the features block Define Azure resources such as a resource group and a virtual network
- Where can I get terraform-provider-azurerm?
- The source code and installation instructions are on GitHub: https://github.com/hashicorp/terraform-provider-azurerm
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source cloud cost estimation for Terraform, Terragrunt, CloudFormation and AWS CDK, shown before infrastructure changes are deployed.
Infrastructure as code CLI that plans and applies declarative configuration files to create, change, and version cloud and service resources.
OpenTofu is an open-source infrastructure-as-code tool for declaratively building, changing, and versioning cloud infrastructure.
Open-source runtime for orchestrating Terraform, OpenTofu, Helmfile and containers with shared config, auth and CI workflows.
Infrastructure as Code CLI and engine that lets you define and deploy cloud resources using general-purpose programming languages.