https://github.com/geekcell/terraform-aws-label
Terraform module to provision an AWS Label.
https://github.com/geekcell/terraform-aws-label
aws label terraform terraform-module
Last synced: about 1 year ago
JSON representation
Terraform module to provision an AWS Label.
- Host: GitHub
- URL: https://github.com/geekcell/terraform-aws-label
- Owner: geekcell
- License: apache-2.0
- Created: 2023-01-05T15:17:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T12:46:55.000Z (about 3 years ago)
- Last Synced: 2025-06-26T09:50:31.367Z (about 1 year ago)
- Topics: aws, label, terraform, terraform-module
- Language: HCL
- Homepage: https://www.geekcell.io
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.geekcell.io/)
### Code Quality
[](https://github.com/geekcell/terraform-aws-label/blob/master/LICENSE)
[](https://github.com/geekcell/terraform-aws-label/releases)
[](https://github.com/geekcell/terraform-aws-label/actions/workflows/release.yaml)
[](https://github.com/geekcell/terraform-aws-label/actions/workflows/validate.yaml)
[](https://github.com/geekcell/terraform-aws-label/actions/workflows/linter.yaml)
### Security
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=INFRASTRUCTURE+SECURITY)
#### Cloud
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AWS+V1.2)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AWS+V1.3)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AZURE+V1.1)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AZURE+V1.3)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+GCP+V1.1)
##### Container
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+KUBERNETES+V1.6)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+EKS+V1.1)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+GKE+V1.1)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+KUBERNETES+V1.5)
#### Data protection
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=SOC2)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=PCI-DSS+V3.2)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=PCI-DSS+V3.2.1)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=ISO27001)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=NIST-800-53)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=HIPAA)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=FEDRAMP+%28MODERATE%29)
# Terraform AWS Label
This Terraform module provides a preconfigured solution for implementing
consistent tagging and naming conventions for all of your AWS resources.
Having well-defined and consistent tags and names for your resources can
help you better organize, manage, and track your infrastructure. This module
makes it easy to apply your desired naming and tagging conventions to all
of your resources in a uniform and automated manner.
Our team has extensive experience working with AWS resources and has
optimized this module to provide the best possible experience for users.
The module encapsulates all necessary configurations, making it easy to use
and integrate into your existing AWS environment. Whether you are just
getting started with AWS resource management or looking for a more efficient
way to implement naming and tagging conventions, this Terraform module
provides a preconfigured solution for better organization and tracking
of your resources.
It contains 4 variables.
1. namespace
2. environment
3. stage
4. implementation
We use it in our projects for names like e.g.
**geekcell-auth-pro-backend**
1. geekcell = namespace, e.g. your product
2. auth = environment, e.g. your service
3. pro = stage, e.g.: pro or dev
4. backend = subcomponent of your product.
In addition, tags are created for you, which you can attach to your
resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [environment](#input\_environment) | The environment to deploy the application into. | `string` | n/a | yes |
| [implementation](#input\_implementation) | The implementation to deploy the application into. | `string` | n/a | yes |
| [namespace](#input\_namespace) | The namespace to deploy the application into. | `string` | n/a | yes |
| [stage](#input\_stage) | The stage to deploy the application into. | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [belongs\_to](#output\_belongs\_to) | Contains the namespace, environment, stage and implementation detail for your infrastructure. |
| [global\_prefix](#output\_global\_prefix) | Contains the namespace, environment and stage for your infrastructure. |
| [tags](#output\_tags) | Normalized Tags. |
## Providers
No providers.
## Resources
# Examples
### Full
```hcl
module "full" {
source = "../../"
environment = "geekcell"
namespace = "auth"
stage = "pro"
implementation = "backend"
}
```