Skip to content

Commit

Permalink
fix: Add description for private API ingress Security Group Rule (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitom authored May 19, 2021
1 parent 468a4b5 commit a639cf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ resource "aws_eks_cluster" "this" {
}

resource "aws_security_group_rule" "cluster_private_access" {
description = "Allow private K8S API ingress from custom source."
count = var.create_eks && var.cluster_create_endpoint_private_access_sg_rule && var.cluster_endpoint_private_access ? 1 : 0
type = "ingress"
from_port = 443
Expand Down

0 comments on commit a639cf5

Please sign in to comment.