No description
  • Go 99.8%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
OpenTofu Core Development Team 04cf13b1c5 Apply GitHub workflow changes
2026-09-05 00:54:58 +00:00
.github Apply GitHub workflow changes 2026-09-05 00:54:58 +00:00
.release CHANGELOG.md for 5.4.0 (#33273) 2026-09-03 10:31:45 -06:00
.teamcity CI: bump TeamCity DSL to 2026.3-dsl3 & Java to 21 to fix teamcity-test (#33296) 2026-09-02 11:34:15 -07:00
contributing linting: add markdownlint for md files; fix all findings (#33326) 2026-09-04 08:45:22 -07:00
examples azurerm_netapp_volume - support for the breakthrough_mode_enabled property and netapp API version bump to 2026-05-01 (#33215) 2026-09-01 14:44:48 -07:00
helpers azproviderlint: update to v0.6.0, configure AZG002 to suggest pointer.To (#33322) 2026-09-04 09:22:28 -07:00
internal golangci-lint: tidy & enable 9 additional linters (#33276) 2026-09-04 13:56:54 -07:00
META.d linting: add actionlint and ymllint for GitHub workflows (#33315) 2026-09-03 10:39:00 -07:00
scripts azproviderlint: update to v0.6.0, configure AZG002 to suggest pointer.To (#33322) 2026-09-04 09:22:28 -07:00
vendor dependencies: go-azure-sdk - update to v0.20260901.1173158 (#33274) 2026-09-03 11:22:37 -06:00
version CHANGELOG.md for 5.4.0 (#33273) 2026-09-03 10:31:45 -06:00
website azurerm_attestation_provider - add List Resource support (#33251) 2026-09-04 14:05:19 -06: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 linting: add markdownlint for md files; fix all findings (#33326) 2026-09-04 08:45:22 -07:00
.go-version dependencies: go - update to 1.26.6 (#33141) 2026-08-19 08:46:45 -06:00
.golangci.yml golangci-lint: tidy & enable 9 additional linters (#33276) 2026-09-04 13:56:54 -07:00
.markdownlint.yml linting: add markdownlint for md files; fix all findings (#33326) 2026-09-04 08:45:22 -07:00
.yamllint.yml linting: add actionlint and ymllint for GitHub workflows (#33315) 2026-09-03 10:39:00 -07:00
CHANGELOG-v0.md cleanup changelogs (#13891) 2021-10-25 11:13:23 -07:00
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-v4.md CHANGELOG.md for 5.0.0 (#32788) 2026-07-27 14:43:41 -06:00
CHANGELOG.md CHANGELOG.md for 5.4.0 (#33273) 2026-09-03 10:31:45 -06: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 linting: add markdownlint for md files; fix all findings (#33326) 2026-09-04 08:45:22 -07:00
go.mod dependencies: go-azure-sdk - update to v0.20260901.1173158 (#33274) 2026-09-03 11:22:37 -06:00
go.sum dependencies: go-azure-sdk - update to v0.20260901.1173158 (#33274) 2026-09-03 11:22:37 -06:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE (#18727) 2022-10-12 14:12:20 -07:00
main.go linters - enable azproviderlint AZG001 - combine err assignment with check (#33106) 2026-08-14 11:26:44 -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 linting: add markdownlint for md files; fix all findings (#33326) 2026-09-04 08:45:22 -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 5.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 = "=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"]
}

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.