diff --git a/workers_launch_template.tf b/workers_launch_template.tf index 0013fe3a8d..4e96279efe 100644 --- a/workers_launch_template.tf +++ b/workers_launch_template.tf @@ -456,7 +456,10 @@ resource "aws_launch_template" "workers_launch_template" { count.index, )}-eks_asg" }, - var.tags, + { for tag_key, tag_value in var.tags : + tag_key => tag_value + if tag_key != "Name" && ! contains([for tag in lookup(var.worker_groups_launch_template[count.index], "tags", local.workers_group_defaults["tags"]) : tag["key"]], tag_key) + } ) }