No description
  • Go 99.9%
  • Shell 0.1%
Find a file
OpenTofu Core Development Team 20758fe0af Apply GitHub workflow changes
2026-04-03 20:23:09 +00:00
.github Apply GitHub workflow changes 2026-04-03 20:23:09 +00:00
.release CHANGELOG.md for 4.67.0 (#32051) 2026-04-02 13:39:02 -06:00
.teamcity remove detailed post (#32060) 2026-03-27 11:07:19 -04:00
contributing contributing docs - add naming guidance on ID references (#31939) 2026-03-11 16:35:45 -06:00
examples azurerm_netapp_volume_group_sap_hana_resource - add support for zone, encryption_key_source, key_vault_private_endpoint_id, and network_features (#31603) 2026-01-30 16:02:42 -08:00
helpers [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 3 of 31) (#31274) 2025-12-09 08:27:01 -07:00
internal automation_variable_[string|object|int|datetime|bool] - splite CreateUpdate into Create and Update (#31976) 2026-04-03 13:13:31 -07:00
META.d [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 1 of 31) (#31282) 2025-12-09 08:25:08 -07:00
scripts actions: use real newlines in close-failing-ci-prs comment bodies (#32090) 2026-04-01 14:51:19 -07:00
utils [IND-4227] [COMPLIANCE] Update Copyright Headers (Batch 26 of 31) (#31276) 2025-12-09 08:47:15 -07:00
vendor Storage: Upgrade API version from 2023-05-01 to 2025-06-01 (#32071) 2026-03-31 09:54:41 -06:00
version CHANGELOG.md for 4.67.0 (#32051) 2026-04-02 13:39:02 -06:00
website New Resource: azurerm_eventgrid_namespace_topic closes #28077 (#30104) 2026-04-01 14:36:11 -06:00
.copywrite.hcl
.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: go - update to 1.25.8 (#31907) 2026-03-19 16:54:17 -06:00
.golangci.yml [COMPLIANCE] Add Copyright and License Headers (#30668) 2025-09-22 14:09:22 -06: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 CHANGELOG.md for 4.67.0 (#32051) 2026-04-02 13:39:02 -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 workflow: close PRs with failing CI (#31810) 2026-03-30 18:48:50 -07:00
go.mod tooling - add VCR support to acceptance testing (#32034) 2026-03-27 08:23:38 +01:00
go.sum tooling - add VCR support to acceptance testing (#32034) 2026-03-27 08:23:38 +01:00
LICENSE
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.