🎯 Create the EKS Cluster in private VPC Networking; then the EKS API Endpoint is ONLY accesible from the EKS VPC
and the peered VPC’s.
export TF_VAR_fully_private_cluster=true
cd ${WORKING_DIR}/modules/eks-cluster
terraform init -reconfigure -backend-config="region=${AWS_REGION}" \
-backend-config="bucket=${TF_STATE_S3_BUCKET}" \
-backend-config="key=${PROJECT_ID}-eks-cluster.tfstate" \
-backend-config="dynamodb_table=${TF_STATE_DYNAMODB_TABLE}"
terraform plan -out tfplan
terraform apply -input=false -auto-approve tfplan
cd ../..