Skip to content

OT-terraform-azure-modules/terraform-azure-resource-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Resource Group Terraform Module

Opstree Solutions

Opstree Solutions

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 versions

Terraform 1.0

Usage

module "res_group" {
  source   = "git::https://github.com/OT-terraform-azure-modules/azure_resource_group.git"
  tag_map  = {
    Name = "azure_rg"
  }
}

Tags

  • Tags are assigned to resources with name variable as prefix.
  • Additial tags can be assigned by tags variables as defined above.

Resources

Name Type
azurerm_resource_group.primary_rg resource
azurerm_management_lock.primary_lock resource

Inputs

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

Output

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

Contributors

Mehul Sharma
Mehul Sharma

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages