Bot releases are visible (Hide)
Published by aknysh over 5 years ago
regex_replace_chars
from context and add it to the output contextPublished by aknysh over 5 years ago
var.regex_replace_chars
-
in name
, namespace
, stage
Published by aknysh over 5 years ago
egex_replace_chars
variablePublished by aknysh over 5 years ago
var.regex_replace_chars
implementationPublished by aknysh over 5 years ago
regex_replace_chars
variablePublished by aknysh about 6 years ago
README
Published by aknysh about 6 years ago
attributes
output a list
attributes
attributes
input is a list
, we should keep the same type for the outputdelimiter
. The delimiter was always taken from the context
even if it was provided in var.delimiter
, and just for attributes
, the other outputs were OKPublished by aknysh about 6 years ago
delimiter
from the provided context or input variable is calculatedFix 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.
Published by aknysh about 6 years ago
label_order
as a list to specify which variables and in what order go into the id
output and Name
tag."namespace", "environment", "stage", "name", "attributes"
Resolves https://github.com/cloudposse/terraform-null-label/issues/35
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.