terraform-provider-azurerm: Allows managing resources within Azure Resource Manager.
What problem it solves
The AzureRM Terraform Provider allows managing resources within Azure Resource Manager. When using version 5.0 of the AzureRM Provider we recommend using the latest version of Terraform Core.
Key features
Azure Resource Manager management — Define and manage Azure resources through Terraform using the provider's resource types.
Source: README, examples
Multiple authentication methods — Authenticate through Azure CLI, Managed Identity, or a Service Principal.
Source: README
Configurable provider behavior — The provider configuration includes a features block for changing Azure provider behavior.
Source: README
Explicit provider versioning — Terraform configurations can pin the provider version and identify its source registry.
Source: README
Contributor development guidance — The repository includes guides for building and developing the provider.
Source: README, contributing
Quick start
Copied verbatim from the project's README.
# 1. Specify the version of the AzureRM Provider to use
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=5.0.0"
}
}
}
# 2. Configure the AzureRM Provider
provider "azurerm" {
# The AzureRM Provider supports authenticating using via the Azure CLI, a Managed Identity
# and a Service Principal. More information on the authentication methods supported by
# the AzureRM Provider can be found here:
# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#authenticating-to-azure
# The features block allows changing the behaviour of the Azure Provider, more
# information can be found here:
# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/features-block
features {}
}
# 3. Create a resource group
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "West Europe"
}
# 4. Create a virtual network within the resource group
resource "azurerm_virtual_network" "example" {
name = "example-network"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
address_space = ["10.0.0.0/16"]
}Who it may suit
This may suit Terraform users who need to manage Azure Resource Manager resources and contributors who want to develop or extend the provider.
Topics to discuss
Which Azure authentication method should be preferred for different deployment environments?
What additional usage examples would be most useful to the community?
How should contributors test changes to resources and data sources?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/hashicorp/terraform-provider-azurerm#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…