fix: Don't add tags on network interfaces because it's not supported yet in terraform-provider-aws (#1407)

This commit is contained in:
Thierno IB. BARRY authored and GitHub committed 2021-05-28 16:49:15 +02:00
1 parent 3529caeeb8
commit 65f5e2e497
2 files changed
-32

No files matched your search

-14
View File
@@ -99,20 +99,6 @@ resource "aws_launch_template" "workers" {
)
}
# Supplying custom tags to EKS instances ENI's
tag_specifications {
resource_type = "network-interface"
tags = merge(
var.tags,
lookup(var.node_groups_defaults, "additional_tags", {}),
lookup(var.node_groups[each.key], "additional_tags", {}),
{
Name = local.node_groups_names[each.key]
}
)
}
# Tag the LT itself
tags = merge(
var.tags,