Terraform module which creates Resource Group on Azure and This module will also give you option to add Lock Resource feature into your Resource Group.
Terraform 1.0
module "res_group" {
source = "git::https://github.com/OT-terraform-azure-modules/azure_resource_group.git"
tag_map = {
Name = "azure_rg"
}
}- Tags are assigned to resources with name variable as prefix.
- Additial tags can be assigned by tags variables as defined above.
| Name | Type |
|---|---|
| azurerm_resource_group.primary_rg | resource |
| azurerm_management_lock.primary_lock | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| resource_group_name | (Required) Name of Resource Group | string |
yes | |
| resource_group_location | Location where we want to implement code | string |
yes | |
| lock_level_value | Specifies the Level to be used for this Lock | string |
"CanNotDelete" |
no |
| tag_map | Tag to associate with the Resource Group | string |
no |
| Name | Description |
|---|---|
| resource_group_name | Name of the Resource Group Provisioned |
| resource_group_location | Location of the Resource Group Provisioned |
| resource_group_id | Id of the Resource Group Provisioned |
Mehul Sharma |
|---|
