Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 11, 2023
1 parent 0e6bb0b commit 4272af7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/full-cluster-tf-upgrade/1.25/securitygroup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
# We absorbe the local 10.x.x.x/x cidr into the 10/8
#
# extra_cluster_sg
# * in any from self
# * in port 443 from census on-prem, and 10/8
# * in port 10250 for kubectl logs from census on-prem, and 10/8

resource "aws_security_group" "additional_eks_cluster_sg" {
name = format("%v%v-cluster", local._prefixes["eks-security-group"], var.cluster_name)
Expand Down Expand Up @@ -137,6 +139,13 @@ resource "aws_security_group" "extra_cluster_sg" {

vpc_id = data.aws_vpc.eks_vpc.id

ingress {
from_port = 0
to_port = 0
protocol = -1
self = true
}

ingress {
from_port = 443
to_port = 443
Expand Down

0 comments on commit 4272af7

Please sign in to comment.