Skip to content

Commit

Permalink
update securitygroup to allow inbound 443 to vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 26, 2022
1 parent 5a10c43 commit 1147fd2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/full-cluster/securitygroup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ resource "aws_security_group" "additional_eks_cluster_sg" {
## aws_security_group.cni_custom_sg.id
]
}
# this grants in-VPC access to the K8S api
ingress {
from_port = 443
to_port = 443
protocol = "tcp"
cidr_blocks = [var.vpc_cidr_block]
}

egress {
from_port = 0
Expand Down

0 comments on commit 1147fd2

Please sign in to comment.