mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 02:11:04 +01:00
fix: Updated code and version requirements to work with Terraform 0.15 (#1165)
This commit is contained in:
10
workers.tf
10
workers.tf
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user