rajeeshb / terraform-azurerm-resource-group

Terraform module for creating and managing Azure Resource Group resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-azurerm-resource-group

Terraform module for creating and managing Azure Resource Group resources

License Latest Release TF Registry

Examples

provider "azurerm" {
  features {}
}

module "az-resource-group" {
  source = "../modules/terraform-azurerm-resource-group"

  # Resource Group Variables

  az_rg_name     = "ResourceGroup-Name"
  az_rg_location = "UK South"

  az_tags = {
    Environment   = "Development"
    CostCenter    = "Department"
    ResourceOwner = "Example Owner"
    Project       = "Example Project Name"
    Role          = "Resource Group"
  }
}

Requirements

Name Version
terraform >= 1.0.0

Providers

Name Version
azurerm >= 2.62.1

Inputs

Name Description Type Required
az_rg_name The Name of the Resource Group string yes
az_rg_location The Azure Region where the Resource Group should exist string yes
az_tags A mapping of tags which should be assigned to all resources map no

Outputs

Name Description
az-rg-name Resource azurerm_resource_group name
az-rg-location Resource azurerm_resource_group location

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Copyrights

Copyright © 2021 Raiko Koosaar

Contributors

Raiko Koosaar
Raiko Koosaar

About

Terraform module for creating and managing Azure Resource Group resources

License:MIT License


Languages

Language:HCL 100.0%