Skip to content

Commit

Permalink
fix: enable private access on EKS cluster (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineAugusti authored Feb 24, 2021
1 parent 91fcc27 commit 3d755e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws/eks/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ resource "aws_eks_cluster" "notification-canada-ca-eks-cluster" {
security_group_ids = [
aws_security_group.notification-canada-ca-worker.id
]
subnet_ids = var.vpc_private_subnets
endpoint_public_access = false
subnet_ids = var.vpc_private_subnets
endpoint_private_access = true
endpoint_public_access = false
}

# tfsec:ignore:AWS066 EKS should have the encryption of secrets enabled
Expand Down

0 comments on commit 3d755e6

Please sign in to comment.