Releases: cloudposse/terraform-null-label
Releases · cloudposse/terraform-null-label
v0.19.1
Include all context inputs as normalized outputs @Nuru (#100)
Enhancement to #99
what
- Include all context inputs as normalized outputs
why
- Enable a consistent pattern of
module.this.context.var
to reference the input value withnull
defaults andmodule.this.var
to reference the normalized value with nulls replaced by actual default values.
references
- See #99: Standardize
context
for input and chaining
v0.19.0
Standardize `context` for input and chaining @Nuru (#99)
what
- Refine the
context
object concept:- The previous
context
output contained normalized and generated data. This has now been renamednormalized_context
- The new
context
object output simply propagates the input unmodified - The new
context.tf
file can be dropped into any module to provide standard context inputs and a context output (module.this.context
) that can be fed into other modules
- The previous
- Refine the
id
length limit:- Rename
id_max_length
toid_length_limit
- Prevent consecutive delimiters and at the same time ensure that if the
id
is truncated, it is truncate to exactlyid_length_limit
characters
- Rename
- Ensure that it is possible to eliminate delimiters by setting
delimiter = ""
. Closes #77 - Add additional tests for all of the above.
why
- Provide a consistent interface to our modules, allow chaining, and provide something like a global setting as requested in #88
- Make length limit for
id
more intuitive. Sinceid
is also used as a tag value, and AWS limits tag value length to 255 characters, limit theid
length by default so it will not break AWS. - Some environments do not allow non-alphabetic characters in names
- Greater code coverage for testing helps prevent bugs from creeping in as new features are added
0.18.0: Add id_max_length
This is a pre-release, to thank @tibbing for his contribution. There will be breaking changes to this feature in the next release.
- Adds a new optional variable
id_max_length
, that when set to a value greater than 0 will limit the length of ID output to given value. - The truncated ID is still disambiguated by suffixing the first 5 characters of the md5 hash of the full ID.
- The full ID will still be available as a new output
id_full
. - The default value of
id_max_length
is 0, so that the change is not breaking any existing usages.
0.17.0: Add terraform 0.13 support (#95)
* Update versions.tf * Update versions.tf Co-authored-by: Erik Osterman <[email protected]> * Updated README.md * Updated README.md Co-authored-by: Erik Osterman <[email protected]> Co-authored-by: actions-bot <[email protected]>
0.16.0 Removed unnecessary step for tags_as_list_of_maps
what
- Cleaned up code, removed unnecessary step
- Removed provider code for null_resource from versions
why
- Cleaner code
- Closes #82
0.15.0 Drop `null_resource`
what
- Replace
null_resource
with Terraform 0.12 for-logic
Why
- No provider dependency, less resources
0.14.1 Fix example
what
- Fix example
- Apply TF 0.12 syntax
why
- Remove TF version pinning from the provider in the example
- TF 0.12 prefers using list index to get items from a list
0.14.0
what
- Use
required_providers
to pin Terraform providers
why
- Pinning the module's providers version in
required_providers
block allows specifying only the required provider version for the module without the need to specify all providers with versions explicitly
0.13.0 Add `versions.tf`
what
- Add
versions.tf
why
- Standardize on a file name to pin Terraform and provider versions
- The file with a standard name is easy to check manually by users and automatically by scripts
versions.tf
is also automatically added byterraform 0.12upgrade
tool
0.12.2 Update Codefresh badge
what
- Update Codefresh badge
why
- Codefresh test pipeline has been moved to Codefresh
terraform-modules
project