This Terraform module is used to create and manage an Azure Resource Group in Microsoft Azure.
- Creates an Azure Resource Group.
- Supports tagging for resource organization.
- Terraform version
>= 1.10 - AzureRM provider version
>= 4
module "resource_group" {
source = "./modules/terraform-azurerm-rg"
name = "example-resource-group"
location = "East US"
tags = {
Environment = "Production"
Owner = "Team"
}
}| Name | Type | Default | Description |
|---|---|---|---|
name |
string |
n/a | The name of the resource group. |
location |
string |
n/a | Location of the resource group. |
tags |
map(string) |
{} |
Map of tags to apply to the resource group. |
| Name | Description |
|---|---|
id |
The ID of the created resource group. |
name |
The name of the resource group. |
location |
The location of the resource group. |
| Name | Version |
|---|---|
azurerm |
>= 4 |
azurerm_resource_group.this: The Azure Resource Group created by this module.