standard
highgarden-io/standard/labels
Terraform Module to generate consistent names, ids, and labels/tags according to Highgarden.io standard labeling scheme.
terraform-labels-generator Terraform module designed to generate consistent names and tags for resources. Use terraform-labels-generator to implement a strict naming convention.   Requirements | Name | Version | |------|---------| | terraform | >= 0.13.0 | Providers No providers. Modules No modules. Resources No resources. Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | component | Sub-component of the resources, used to generate resource ID. (optional) | string | "" | no | | id\_label\_enabled | Extra Label with
| Name | Type | Description | Default |
|---|---|---|---|
| region | string | Region of the resources, used to generate resource ID. | required |
| stage | string | Stage of the resources, such as dev, test, prod, etc. | required |
| name | string | Name of the resources, used to generate resource ID. | required |
| managed_by_ref | string | Reference of the location of the component that manages the resources. (Repo / T | required |
| layer | string | Infrastructure layer of the resources, used to generate resource ID. | required |
| org_tld | string | Organization TLD used to generate standard labels keys. | "io" |
| namespace | string | Namespace of generate resources, used to group resources of a team/sub-organizat | "main" |
| org_short | string | Short Organization Name used for naming resources. | "h8n" |
| id_label_keyname | string | Extra Label with the ID Value (e.g 'Name' for AWS) | "Name" |
| zone | string | Zone of the resources if applicable. (optional) | "" |
| managed_by | string | Name of the component that manages the resources. ( default to 'Terraform', poss | "terraform" |
| org | string | The Organization Name | "highgarden" |
| component | string | Sub-component of the resources, used to generate resource ID. (optional) | "" |
| id_label_enabled | bool | Extra Label with the ID Value (e.g 'Name' for AWS) | true |
labels_topology — A Map of all 'Topology' Labels Generated by the Module.org_short — Short Organization Name used for naming resources.org_tld — Organization TLD used to generate standard labels keys.name — Name of the resources, used to generate resource ID.component — Sub-component of the resources, used to generate resource ID.zone — Zone of the resources if applicable.id — The ID of the resourcelabels_managed_by — A Map of all 'Managed By' Labels Generated by the Module.namespace — Namespace of generate resources, used to group resources of a team/sub-organization.org — The Organization Namestage — Stage of the resources, such as dev, test, prod, etc.labels — A Map of all Labels Generated by the Modulelabels_id — A Map of all 'Identity' Labels Generated by the Module.layer — Infrastructure layer of the resources, used to generate resource ID.region — Region of the resources, used to generate resource ID.managed_by — Name of the component that manages the resources. ( default to 'Terraform', possible values can be omanaged_by_ref — Reference of the location of the component that manages the resources. (Repo / Terraform State Path)