label
cloudposse/label/terraform
Terraform Module to define a consistent naming convention by (namespace, stage, name, [attributes])
terraform-terraform-label   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module designed to generate consistent label names and tags for resources. Use terraform-terraform-label to implement a strict naming convention. terraform-terraform-label is a fork of terraform-null-label which uses only the core Terraform provider. A label follows the following convention: {namespace}-{stage}-{name}-{attributes}. The delimiter (e.g. -) is interchangeable. It's recommended to use one terraform-terraform-label module for every unique resource of a given resource type. For example, if you have 10
| Name | Type | Description | Default |
|---|---|---|---|
| delimiter | string | Delimiter to be used between `namespace`, `stage`, `name` and `attributes` | "-" |
| attributes | list(string) | Additional attributes (e.g. `1`) | [] |
| tags | map(string) | Additional tags (e.g. `map('BusinessUnit','XYZ')`) | {} |
| enabled | bool | Set to false to prevent the module from creating any resources | true |
| convert_case | bool | Convert fields to lower case | true |
| namespace | string | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or ' | "" |
| stage | string | Stage, e.g. 'prod', 'staging', 'dev' | "" |
| name | string | Solution name, e.g. `app` or `jenkins` | "" |
stage — Normalized stagedelimiter — Delimiter between `namespace`, `stage`, `name` and `attributes`attributes — Normalized attributestags — Normalized Tag mapid — Disambiguated IDname — Normalized namenamespace — Normalized namespaceAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,