fix: Updated code and version requirements to work with Terraform 0.15 (#1165)

This commit is contained in:
Tjeu Kayim
2021-04-16 09:56:37 +02:00
committed by GitHub
parent a26c9fd0c9
commit 2a6f07a0e8
33 changed files with 530 additions and 443 deletions

View File

@@ -133,11 +133,11 @@ resource "aws_autoscaling_group" "workers" {
],
[
for tag_key, tag_value in var.tags :
map(
"key", tag_key,
"value", tag_value,
"propagate_at_launch", "true"
)
{
"key" = tag_key,
"value" = tag_value,
"propagate_at_launch" = "true"
}
if tag_key != "Name" && !contains([for tag in lookup(var.worker_groups[count.index], "tags", local.workers_group_defaults["tags"]) : tag["key"]], tag_key)
],
lookup(