diff --git a/cluster.tf b/cluster.tf index 55a1747cfe..68a07369df 100644 --- a/cluster.tf +++ b/cluster.tf @@ -46,7 +46,7 @@ resource "aws_eks_cluster" "this" { } resource "aws_security_group_rule" "cluster_private_access" { - count = var.create_eks && var.manage_aws_auth && var.cluster_endpoint_private_access && var.cluster_endpoint_public_access == false ? 1 : 0 + count = var.create_eks && var.cluster_endpoint_private_access && var.cluster_endpoint_public_access == false ? 1 : 0 type = "ingress" from_port = 443 to_port = 443