https://github.com/telekom-mms/terraform-azurerm-management
A Terraform module that manages the management resources from the azurerm provider.
https://github.com/telekom-mms/terraform-azurerm-management
azure azure-management terraform terraform-module
Last synced: 2 months ago
JSON representation
A Terraform module that manages the management resources from the azurerm provider.
- Host: GitHub
- URL: https://github.com/telekom-mms/terraform-azurerm-management
- Owner: telekom-mms
- License: mpl-2.0
- Created: 2021-12-15T12:49:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T02:20:54.000Z (4 months ago)
- Last Synced: 2025-02-05T05:41:19.599Z (4 months ago)
- Topics: azure, azure-management, terraform, terraform-module
- Language: HCL
- Homepage: https://telekom-mms.github.io/terraform-template
- Size: 41 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# management
This module manages the hashicorp/azurerm management resources.
For more information see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs > management_<-- This file is autogenerated, please do not change. -->_
## Requirements
| Name | Version |
|------|---------|
| terraform | >=1.5 |
| azurerm | >=2.19.0, <4.0 |## Providers
| Name | Version |
|------|---------|
| azurerm | >=2.19.0, <4.0 |## Resources
| Name | Type |
|------|------|
| azurerm_management_lock.management_lock | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| management_lock | resource definition, default settings are defined within locals and merged with var settings | `any` | `{}` | no |## Outputs
| Name | Description |
|------|-------------|
| management_lock | Outputs all attributes of resource_type. |
| variables | Displays all configurable variables passed by the module. __default__ = predefined values per module. __merged__ = result of merging the default values and custom values passed to the module |## Examples
Minimal configuration to install the desired resources with the module
```hcl
module "container" {
source = "registry.terraform.io/telekom-mms/container/azurerm"
container_registry = {
crmms = {
location = "westeurope"
resource_group_name = "rg-mms-github"
}
}
}module "management" {
source = "registry.terraform.io/telekom-mms/management/azurerm"
management_lock = {
container_registry = {
location = "westeurope"
scope = module.container.container_registry["crmms"].id
}
}
}
```Advanced configuration to install the desired resources with the module
```hcl
module "container" {
source = "registry.terraform.io/telekom-mms/container/azurerm"
container_registry = {
crmms = {
location = "westeurope"
resource_group_name = "rg-mms-github"
}
}
}module "management" {
source = "registry.terraform.io/telekom-mms/management/azurerm"
management_lock = {
container_registry = {
name = "restrict_delete"
scope = module.container.container_registry["crmms"].id
notes = "protect resource"
}
}
}
```