Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 16 Apr 10:23
a0244ff
Migrate away from the deprecated list function @kjagiello (#28)

Now that Terraform 0.15 is released, I've run into some issues with this module as it is using a function that got removed, namely list. This PR replaces it with tolist.

Error from Terraform 0.15 for reference:

│ Error: Error in function call
│ 
│   on .terraform/modules/default_label/main.tf line 2, in locals:
│    2:   original_tags    = join(var.delimiter, compact(concat(list(var.namespace, var.stage, var.name), var.attributes)))
│     ├────────────────
│     │ var.name is a string, known only after apply
│     │ var.namespace is a string, known only after apply
│     │ var.stage is a string, known only after apply
│ 
│ Call to function "list" failed: the "list" function was deprecated in
│ Terraform v0.12 and is no longer available; use tolist([ ... ]) syntax to
│ write a literal list.