1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

fix: Add description for private API ingress Security Group Rule (#1299)

This commit is contained in:
Tamas Millian
2021-05-19 14:50:43 +01:00
committed by GitHub
parent 468a4b5fae
commit a639cf5138
+1
View File
@@ -53,6 +53,7 @@ resource "aws_eks_cluster" "this" {
} }
resource "aws_security_group_rule" "cluster_private_access" { 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 count = var.create_eks && var.cluster_create_endpoint_private_access_sg_rule && var.cluster_endpoint_private_access ? 1 : 0
type = "ingress" type = "ingress"
from_port = 443 from_port = 443