If you want to change enable_worker_group = false and apply a custom configuration of node_groups_managed
terraform apply -target module.eks-jx
Error: error waiting for EKS Node Group (xxx-xxxxx-jx3-dev-xxx:zzz-zzzzzzzz-jx3-dev-zzzz-pepeluis-nodes20210930125545600100000001) to create: unexpected state 'CREATE_FAILED', wanted target 'ACTIVE'. last error: 1 error occurred:
* i-03470a0fb3778068b9, i-0b7f47eavb3f4c38f7, i-0c13adr93c4081e9: NodeCreationFailure: Instances failed to join the kubernetes cluster
on .terraform/modules/eks-jx.cluster.eks/modules/node_groups/main.tf line 1, in resource "aws_eks_node_group" "workers":
1: resource "aws_eks_node_group" "workers" {
But I see the the Auto Scaling group created:
Maybe in .terraform\modules\eks-jx.cluster.eks\modules\node_groups\main.tf the module is waiting the node_group_name and cause the error
Summary
Following: https://github.com/jenkins-x/terraform-aws-eks-jx#custom-eks-node-groups
If you want to change
enable_worker_group = false
and apply a custom configuration ofnode_groups_managed
But I see the the Auto Scaling group created:
Maybe in
.terraform\modules\eks-jx.cluster.eks\modules\node_groups\main.tf
the module is waiting the node_group_name and cause the errorSteps to reproduce the behavior
terraform apply -target module.eks-jx
The output of
terraform version
is:Module version
Operating system