Terraform provider for Azure Resource Manager
terraformterraform-providerazureazure-resource-manager
主要指標
スター成長
スター
5k
フォーク
5k
週間成長
+-1
Issue
2.5k
2k4k
2017年6月2018年12月2020年7月2022年1月2023年8月2025年2月2026年9月
成果物Go Modules
README
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).
- Terraform Website
- AzureRM Provider Documentation
- AzureRM Provider Usage Examples
- Slack Workspace for Contributors (Request Invite)
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"]
}
- Usage documentation for the AzureRM Provider can be found in the Terraform Registry.
- Learn more about Terraform and the AzureRM Provider on HashiCorp Learn.
- Additional examples can be found in the
./examplesfolder within this repository.
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.
関連リポジトリ