Resource: azurerm_resourcegroup
Creates an Azure resource group given a name, location and tags (optional).
Name | Version |
---|---|
azurerm | >= 2.98 |
Name | Version |
---|---|
azurerm | >= 2.98 |
No modules.
Name | Type |
---|---|
azurerm_resource_group.resourcegroup | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
location | (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. | string |
n/a | yes |
name | (Required) The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. | string |
n/a | yes |
tags | (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. | map(string) |
null |
no |
Name | Description |
---|---|
id | Returns Resource Group ID. |
location | Returns Resource Group Location. |
name | Returns Resource Group Name. |
tags | Returns Resource Group Tags. |
module "azurerm_resourcegroup_type1" {
source = "github.com/rmsmatos/terraform_azurerm_resourcegroup_type1?ref=v1.0.0"
name = "just-a-test"
location = "westeurope"
tags = {
environment = "production"
costcentre = "cost center"
}
}
Azure regions: azure.microsoft.com/en-us/global-infrastructure/regions/
Created and maintained by Rui Matos.
©Rui Matos 2023
This source code is licensed under the Apache-2.0 license found in the LICENSE file in the root directory of this source tree license (./LICENSE.md).