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.