fix: Don't tag self managed node security group with kubernetes.io/cluster tag (#1774)

This commit is contained in:
Devin Young
2022-02-02 10:25:52 -05:00
committed by GitHub
parent d0de694b66
commit a638e4a754

View File

@@ -460,8 +460,7 @@ resource "aws_security_group" "this" {
tags = merge(
var.tags,
{
"Name" = local.security_group_name
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
"Name" = local.security_group_name
},
var.security_group_tags
)