Skip to content

aws-ia/terraform-aws-label

Repository files navigation

Terraform AWS Label Module

The Terraform Amazon Web Services (AWS) Label module generates consistent label names and tags for Terraform resources.


Requirements

Name Version
aws >= 3.68
awscc ~> 0.9

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

Name Description Type Default Required
account account, which could be AWS Account Name or Number string null no
attributes attributes, which could be used for additional attributes list(any) [] no
delimiter delimiter, which could be used between name, namespace and env string "-" no
env environment, e.g. 'sit', 'uat', 'prod' etc string null no
id_order The order in which the id is constructed. Default yields namespace-account-env-name if your var.delimiter is -. Variables that are not populated but order is preserved. Eg: If no var.namespace and var.account are not specified, yields env-name. list(any)
[
"namespace",
"account",
"env",
"name"
]
no
name stack name string null no
namespace namespace, which could be your organization name, e.g. amazon string null no
region n/a string "us-west-1" no
tags tags, which could be used for additional tags any [] no

Outputs

Name Description
account n/a
env n/a
id n/a
name n/a
namespace n/a
tags n/a
tags_aws n/a