Skip to content

Commit

Permalink
fix: Add description for private API ingress Security Group Rule (ter…
Browse files Browse the repository at this point in the history
  • Loading branch information
mitom authored and barryib committed May 20, 2021
1 parent 27a33a3 commit cff89d5
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 cff89d5

Please sign in to comment.