This terraform module enables the efficient creation and management of azure resource groups. By offering customizable options for the name, location, management locks and tags, it brings granular control over your azure environment. Resource groups, functioning as logical containers, are essential for managing workloads and deploying accelerators.
The main objective is to create a more logic data structure, achieved by combining and grouping related resources together in a complex object.
The structure of the module promotes reusability. It's intended to be a repeatable component, simplifying the process of building diverse workloads and platform accelerators consistently.
A primary goal is to utilize keys and values in the object that correspond to the REST API's structure. This enables us to carry out iterations, increasing its practical value as time goes on.
A last key goal is to separate logic from configuration in the module, thereby enhancing its scalability, ease of customization, and manageability.
- provides support for both single and multiple resource groups, allowing flexible resource management.
- implements optional management locks for enhanced security
- supports leveraging existing resource groups
Name | Version |
---|---|
terraform | ~> 1.0 |
azurerm | ~> 3.61 |
Name | Version |
---|---|
azurerm | ~> 3.61 |
Name | Type |
---|---|
azurerm_resource_group | resource |
azurerm_management_lock | resource |
azurerm_resource_group | data source |
Name | Description | Type | Required |
---|---|---|---|
groups |
describes resource groups | object | yes |
use_existing_groups |
use existing resource groups globally | bool | no |
region |
default azure region to be used | string | no |
tags |
tags to be added to the resource | string | no |
Name | Description |
---|---|
groups |
contains all resource group config |
groups_existing |
contains all resource groups considered existing based on global and local flags. |
Module is maintained by these awesome contributors.
MIT Licensed. See LICENSE for full details.