Skip to content

Terraform module creates Azure resource group(s)

Notifications You must be signed in to change notification settings

sironite/terraform-azurerm-resource_group

Repository files navigation

Azure Resource Group

Changelog Notice Apache V2 License TF Registry

Usage - Module

Resource Groups

module "resource_group" {
  source  = "sironite/resource_group/azurerm"
  version = "x.x.x"

  resource_group_name = var.resource_group_name
  azure_location      = var.azure_location
}

Providers

Name Version
azurerm >= 2.0.0

Modules

No modules.

Resources

Name Type
azurerm_resource_group.this resource

Inputs

Name Description Type Required
azure_location The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. string yes
resource_group_name The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created. string yes
resource_group_tags A mapping of tags which should be assigned to the Resource Group. map(any) no

Outputs

Name Description
resource_group_id resource group id
resource_group_location resource group location
resource_group_name resource group name

Related documentation