mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-26 18:38:49 +02:00
docs: Mention that security groups must be manually referenced on externally attached EKS managed groups (#2101)
This commit is contained in:
@@ -15,6 +15,11 @@ module "eks_managed_node_group" {
|
|||||||
vpc_id = "vpc-1234556abcdef"
|
vpc_id = "vpc-1234556abcdef"
|
||||||
subnet_ids = ["subnet-abcde012", "subnet-bcde012a", "subnet-fghi345a"]
|
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
|
min_size = 1
|
||||||
max_size = 10
|
max_size = 10
|
||||||
desired_size = 1
|
desired_size = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user