Skip to content

Releases: cloudposse/terraform-null-label

v0.19.1

27 Aug 21:37
dec8215
Compare
Choose a tag to compare
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 with null defaults and module.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

27 Aug 05:48
e9c2275
Compare
Choose a tag to compare
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 renamed normalized_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
  • Refine the id length limit:
    • Rename id_max_length to id_length_limit
    • Prevent consecutive delimiters and at the same time ensure that if the id is truncated, it is truncate to exactly id_length_limit characters
  • 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. Since id is also used as a tag value, and AWS limits tag value length to 255 characters, limit the id 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

26 Aug 23:07
af6fd1f
Compare
Choose a tag to compare
Pre-release

This is a pre-release, to thank @tibbing for his contribution. There will be breaking changes to this feature in the next release.

#98 Thanks to @tibbing

  • 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)

09 Aug 20:06
46042f4
Compare
Choose a tag to compare
* 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

28 Oct 16:14
Compare
Choose a tag to compare

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`

14 Aug 17:45
Compare
Choose a tag to compare

what

  • Replace null_resource with Terraform 0.12 for-logic

Why

  • No provider dependency, less resources

0.14.1 Fix example

25 Jun 00:09
Compare
Choose a tag to compare

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

24 Jun 21:39
ae70072
Compare
Choose a tag to compare

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`

19 Jun 19:35
7f17743
Compare
Choose a tag to compare

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 by terraform 0.12upgrade tool

0.12.2 Update Codefresh badge

19 Jun 05:22
3394612
Compare
Choose a tag to compare

what

  • Update Codefresh badge

why

  • Codefresh test pipeline has been moved to Codefresh terraform-modules project