Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create node_groups_managed fails #311

Closed
rupertgti opened this issue Sep 30, 2021 · 1 comment
Closed

Create node_groups_managed fails #311

rupertgti opened this issue Sep 30, 2021 · 1 comment

Comments

@rupertgti
Copy link
Contributor

rupertgti commented Sep 30, 2021

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 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:
image

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

Steps to reproduce the behavior

terraform apply -target module.eks-jx

The output of terraform version is:

0.13.7

Module version

1.16.1 - 1.15.47

Operating system

WSL 2 Ubuntu
@rupertgti
Copy link
Contributor Author

I was using an old previous terraform generate cluster, but I test again with a new terraform cluster and the problem doesn't exist. I close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant