An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![Geek Cell GmbH](https://raw.githubusercontent.com/geekcell/.github/main/geekcell-github-banner.png)](https://www.geekcell.io/)

### Code Quality
[![License](https://img.shields.io/github/license/geekcell/terraform-aws-label)](https://github.com/geekcell/terraform-aws-label/blob/master/LICENSE)
[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-label?logo=github&sort=semver)](https://github.com/geekcell/terraform-aws-label/releases)
[![Release](https://github.com/geekcell/terraform-aws-label/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-label/actions/workflows/release.yaml)
[![Validate](https://github.com/geekcell/terraform-aws-label/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-label/actions/workflows/validate.yaml)
[![Lint](https://github.com/geekcell/terraform-aws-label/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-label/actions/workflows/linter.yaml)

### Security
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/general)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=INFRASTRUCTURE+SECURITY)

#### Cloud
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AWS+V1.2)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AWS+V1.3)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AZURE+V1.1)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+AZURE+V1.3)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+GCP+V1.1)

##### Container
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+KUBERNETES+V1.6)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+EKS+V1.1)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+GKE+V1.1)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=CIS+KUBERNETES+V1.5)

#### Data protection
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=SOC2)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=PCI-DSS+V3.2)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=PCI-DSS+V3.2.1)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=ISO27001)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=NIST-800-53)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-label&benchmark=HIPAA)
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-label/fedramp_moderate)](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"
}
```