fix: remove unnecessary conditional in private access security group (#915)

This commit is contained in:
Ariel Viñas
2020-06-10 07:38:56 -03:00
committed by GitHub
parent f2c4383719
commit 348f441221

View File

@@ -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