No description
  • Go 99.8%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
OpenTofu Core Development Team eebaa4ec5a Apply GitHub workflow changes
2026-07-21 09:07:50 +00:00
.github Apply GitHub workflow changes 2026-07-21 09:07:50 +00:00
.release suppress false positive sec vulnerability (#32786) 2026-07-14 15:18:08 +02:00
.teamcity enable beta version for default (#32787) 2026-07-14 11:37:51 -04:00
contributing Contributing Guide - minor fix to resource-identity guide (#32761) 2026-07-09 15:16:33 -06:00
examples keyvault - Update API to 2026-02-01 (#32320) 2026-07-02 16:00:19 -07:00
helpers tooling - golangci-lint update to v2.12.2 for Go 1.26 coverage (#32593) 2026-07-01 16:59:24 +02:00
internal azurerm_dashboard_grafana - update grafana_major_version possible values to 12 and 13 (#32777) 2026-07-21 08:30:49 +01:00
META.d [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 1 of 31) (#31282) 2025-12-09 08:25:08 -07:00
scripts tooling - change to terrafmt file globbing instead of loops. (#32504) 2026-06-03 14:43:41 +02:00
utils [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 26 of 31) (#31276) 2025-12-09 08:47:15 -07:00
vendor 5.0: sentinel - migrate to go-azure-sdk (#32759) 2026-07-14 08:58:29 -06:00
version CHANGELOG.md for 4.81.0 (#32721) 2026-07-14 12:20:48 +02:00
website azurerm_dashboard_grafana - update grafana_major_version possible values to 12 and 13 (#32777) 2026-07-21 08:30:49 +01:00
.copywrite.hcl tooling: configuring copywrite 2023-12-13 12:34:22 +01:00
.gitattributes Use LF line endings for all .go files (#30361) 2025-09-08 11:25:46 -06:00
.gitignore [ENHANCEMENT:] Update .gitignore to not allow new AI skills directory to be included in the repos .github folder... (#31798) 2026-02-23 08:20:44 -07:00
.go-version dependencies - bump go version for security fixes in stdlib (#32784) 2026-07-14 12:52:53 +02:00
.golangci.yml tooling - golangci-lint update to v2.12.2 for Go 1.26 coverage (#32593) 2026-07-01 16:59:24 +02:00
CHANGELOG-v0.md
CHANGELOG-v1.md Update CHANGELOG-v1.md 2024-01-09 18:04:09 -08:00
CHANGELOG-v2.md docs: replace terraform.io timeouts url(s) with a developer.hashicorp.com url (#30706) 2025-09-25 10:02:41 -06:00
CHANGELOG-v3.md Update CHANGELOG-v3.md to include 3.117 (#29261) 2025-04-17 14:53:53 -07:00
CHANGELOG.md dependencies: x/crypto to 0.54.0 (#32785) 2026-07-14 13:31:39 +02:00
CODEOWNERS Update CODEOWNERS (#30212) 2025-07-22 17:03:59 +02:00
DEVELOPER.md Docs: remove outdated resource ID info (#31477) 2026-01-09 15:20:32 -07:00
GNUmakefile tooling - change to terrafmt file globbing instead of loops. (#32504) 2026-06-03 14:43:41 +02:00
go.mod dependencies: x/crypto to 0.54.0 (#32785) 2026-07-14 13:31:39 +02:00
go.sum dependencies: x/crypto to 0.54.0 (#32785) 2026-07-14 13:31:39 +02:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE (#18727) 2022-10-12 14:12:20 -07:00
main.go [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 26 of 31) (#31276) 2025-12-09 08:47:15 -07:00
mkdocs.yml list - fix encode helper and resources using it to avoid panics (#31676) 2026-02-09 10:37:07 -07:00
README.md README: update slack invite link (#31782) 2026-02-19 14:45:17 -07:00
terraform-registry-manifest.json azurerm_kubernetes_cluster - adding property gpu_profile to skip GPU driver install (#29954) 2025-08-08 17:40:53 +02:00

Terraform logo

Terraform Provider for Azure (Resource Manager)

The AzureRM Terraform Provider allows managing resources within Azure Resource Manager.

When using version 4.0 of the AzureRM Provider we recommend using the latest version of Terraform Core (the latest version can be found here).

Usage Example

# 1. Specify the version of the AzureRM Provider to use
terraform {
  required_providers {
    azurerm = {
      source = "hashicorp/azurerm"
      version = "=4.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"]
}

Developing & Contributing to the Provider

The DEVELOPER.md file is a basic outline on how to build and develop the provider while more detailed guides geared towards contributors can be found in the /contributing directory of this repository.