terraform-null-label

Terraform Module to define a consistent naming convention by (namespace, stage, name, [attributes])

APACHE-2.0 License

Stars
633
Committers
27

Bot releases are visible (Hide)

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label -

Published by osterman over 5 years ago

terraform-null-label - 0.7.0 Use `regex_replace_chars` from context and add it to the output context

Published by aknysh over 5 years ago

what

  • Use regex_replace_chars from context and add it to the output context

why

  • Closes #55
  • Closes #52
terraform-null-label - 0.6.3 Enable hyphens in `var.regex_replace_chars`

Published by aknysh over 5 years ago

what

  • Enable hyphens in var.regex_replace_chars

why

terraform-null-label - 0.6.2 Update `regex_replace_chars` variable

Published by aknysh over 5 years ago

terraform-null-label - 0.6.1 Fix var.regex_replace_chars implementation

Published by aknysh over 5 years ago

what

  • Fix var.regex_replace_chars implementation

why

terraform-null-label - 0.6.0 Add `regex_replace_chars` variable

Published by aknysh over 5 years ago

what

  • Add regex_replace_chars variable

why

  • Allow special characters in the generated ID
terraform-null-label -

Published by osterman almost 6 years ago

terraform-null-label - 0.5.3

Published by aknysh about 6 years ago

what

  • Fix tags: don't include tags with empty values
  • Fix Travis URL in README

why

  • Many resources (e.g. Elastic Beanstalk) fail if provided with tags with empty values

references

  • closes #42
terraform-null-label - 0.5.2

Published by aknysh about 6 years ago

what

  • Make attributes output a list
  • Fix race conditions when processing attributes

why

  • attributes input is a list, we should keep the same type for the output
  • Due to TF limitations, there was a race condition when merging attributes using the calculated delimiter. The delimiter was always taken from the context even if it was provided in var.delimiter, and just for attributes, the other outputs were OK
terraform-null-label - 0.5.1

Published by aknysh about 6 years ago

what

  • Change how the final delimiter from the provided context or input variable is calculated

why

Fix the case where a module label is instantiated with a non-default delimiter, and then another label is generated based off the context but uses the default delimiter as the local var takes
precedence.

The only case this actually applies to is the delimiter, which has a default value of '-', however all others changed to make them consistent.

terraform-null-label - 0.5.0

Published by aknysh about 6 years ago

what

  • Add new variable that allows for providing a label_order as a list to specify which variables and in what order go into the id output and Name tag.
  • The list can include all or none of the a variable names:
    "namespace", "environment", "stage", "name", "attributes"

why

Resolves https://github.com/cloudposse/terraform-null-label/issues/35

terraform-null-label -

Published by osterman about 6 years ago

terraform-null-label - Context - Allows chaining label modules together

Published by Jamie-BitFlight about 6 years ago

The module has a new context variable and output.
The module has a new environment variable.
The module now allows all variables to be optional and follows a set of rules to generate the outputs.

Context allows the variables of one label module to be passed to the next label module.
Allowing you to create one label that has the base set of values, and then creating every extra label
as a derivative of that.

The environment variable can be used with the stage variable or alone.
It was added because in some businesses the term environment is embedded as a "known term" for the separation of resources from development to production, so to keep this module from changing the embedded nomenclature this variable was added with backwards compatibility.

terraform-null-label -

Published by osterman about 6 years ago

Related Projects