From 140c872eb949081c04f96536c79fabca7b46d78f Mon Sep 17 00:00:00 2001 From: Lucas Freitas <4260591+lucasff@users.noreply.github.com> Date: Sat, 18 Jun 2022 17:02:53 +0200 Subject: [PATCH] docs: Mention that security groups must be manually referenced on externally attached EKS managed groups (#2101) --- modules/eks-managed-node-group/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/eks-managed-node-group/README.md b/modules/eks-managed-node-group/README.md index 0733ae8..bec8807 100644 --- a/modules/eks-managed-node-group/README.md +++ b/modules/eks-managed-node-group/README.md @@ -15,6 +15,11 @@ module "eks_managed_node_group" { vpc_id = "vpc-1234556abcdef" subnet_ids = ["subnet-abcde012", "subnet-bcde012a", "subnet-fghi345a"] + // The following variables are necessary if you decide to use the module outside of the parent EKS module context. + // Without it, the security groups of the nodes are empty and thus won't join the cluster. + cluster_primary_security_group_id = module.eks.cluster_primary_security_group_id + cluster_security_group_id = module.eks.node_security_group_id + min_size = 1 max_size = 10 desired_size = 1