From 11ff89ace75c25efb5a6a3ff7691246f7143af18 Mon Sep 17 00:00:00 2001 From: Rui Campos Date: Sun, 25 Aug 2024 08:50:27 +0100 Subject: [PATCH] fix(security): enable Amazon EKS private API server --- k8s/eks.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/k8s/eks.tf b/k8s/eks.tf index 89cddd0..ee69d0c 100644 --- a/k8s/eks.tf +++ b/k8s/eks.tf @@ -78,6 +78,10 @@ module "eks" { cluster_name = "cloud-dev-infra" cluster_version = "1.29" + # Indicates whether or not the Amazon EKS private API server endpoint is enabled + cluster_endpoint_private_access = true + + # Indicates whether or not the Amazon EKS public API server endpoint is enabled cluster_endpoint_public_access = true cluster_endpoint_public_access_cidrs = var.cluster_endpoint_public_access_cidrs