An open API service indexing awesome lists of open source software.

https://github.com/Azure-Terraform/terraform-azurerm-resource-group

Terraform Resource Group Module
https://github.com/Azure-Terraform/terraform-azurerm-resource-group

Last synced: about 1 month ago
JSON representation

Terraform Resource Group Module

Awesome Lists containing this project

README

        

# Azure - Resource Group Module

## Introduction

This module will create a new Resource Group in Azure.

Naming for this resource is as follows, based on published RBA naming convention (https://github.com/openrba/python-azure-naming).

----

## Providers

| Name | Version |
|------|---------|
| azurerm | >= 2.0.0 |
| random | >= 2.0.0 |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:-----:|
| location | Azure Region | `string` | n/a | yes |
| names | Names to be applied to resources (inclusive) |

object({
environment = string
location = string
market = string
product_name = string
resource_group_type = string
})
| n/a | yes |
| tags | Tags to be applied to resources (inclusive) | `map(string)` | n/a | yes |
| unique\_name | Freeform input to append to resource group name. Set to 'true', to append 5 random integers | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| id | Resource group id |
| location | Resource group location |
| name | Resource group name |
| rg | Resource group resource |

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0 |
| [azurerm](#requirement\_azurerm) | >= 2.0.0 |
| [random](#requirement\_random) | >= 2.0.0 |

## Providers

| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | >= 2.0.0 |
| [random](#provider\_random) | >= 2.0.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [azurerm_resource_group.rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |
| [random_integer.suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/integer) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [location](#input\_location) | Azure Region | `string` | n/a | yes |
| [name\_suffix](#input\_name\_suffix) | name suffix e.g rg, blue etc | `string` | `""` | no |
| [names](#input\_names) | Names to be applied to resources (inclusive) |

object({
environment = string
location = string
market = string
product_name = string
resource_group_type = string
})
| n/a | yes |
| [tags](#input\_tags) | Tags to be applied to resources (inclusive) | `map(string)` | n/a | yes |
| [unique\_name](#input\_unique\_name) | Freeform input to append to resource group name. Set to 'true', to append 5 random integers | `string` | `null` | no |

## Outputs

| Name | Description |
|------|-------------|
| [id](#output\_id) | Resource group id |
| [location](#output\_location) | Resource group location |
| [name](#output\_name) | Resource group name |
| [rg](#output\_rg) | Resource group resource |