mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-31 22:43:07 +02:00
fix: remove unnecessary conditional in private access security group (#915)
This commit is contained in:
@@ -46,7 +46,7 @@ resource "aws_eks_cluster" "this" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_security_group_rule" "cluster_private_access" {
|
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"
|
type = "ingress"
|
||||||
from_port = 443
|
from_port = 443
|
||||||
to_port = 443
|
to_port = 443
|
||||||
|
|||||||
Reference in New Issue
Block a user