You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am having an issue whenever I try to delete the first item of the worker_groups_launch_template list. Could anybody tell me why it is behaving like this?
I get the below error: Error: Cycle: module.eks.aws_launch_template.workers_launch_template[1] (destroy), module.eks.random_pet.workers_launch_template[1] (destroy), module.eks.aws_launch_template.workers_launch_template[0] (destroy deposed 630f0acb), module.eks.aws_iam_instance_profile.workers_launch_template[1] (destroy), module.eks.aws_launch_template.workers_launch_template[0], module.eks.random_pet.workers_launch_template[0], module.eks.aws_autoscaling_group.workers_launch_template[0], module.eks.aws_autoscaling_group.workers_launch_template[0] (destroy deposed 93527070), module.eks.random_pet.workers_launch_template[0] (destroy deposed ad930592)
BTW, keep in mind that changing the order of workers group is a destructive operation. All workers group are destroyed and recreated. If you want to do this safely, you should move then in state with terraform state mv.
This will be fixed when we use map instead of list for workers groups. There is an ongoing PR #858 for that.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have issues
Hi, I am having an issue whenever I try to delete the first item of the worker_groups_launch_template list. Could anybody tell me why it is behaving like this?
I get the below error:
Error: Cycle: module.eks.aws_launch_template.workers_launch_template[1] (destroy), module.eks.random_pet.workers_launch_template[1] (destroy), module.eks.aws_launch_template.workers_launch_template[0] (destroy deposed 630f0acb), module.eks.aws_iam_instance_profile.workers_launch_template[1] (destroy), module.eks.aws_launch_template.workers_launch_template[0], module.eks.random_pet.workers_launch_template[0], module.eks.aws_autoscaling_group.workers_launch_template[0], module.eks.aws_autoscaling_group.workers_launch_template[0] (destroy deposed 93527070), module.eks.random_pet.workers_launch_template[0] (destroy deposed ad930592)
I'm submitting a...
What is the current behavior?
Given:
If I delete the first item from the list. I get the Cycle error.
If this is a bug, how to reproduce? Please include a code sample if relevant.
Create a list of worker_groups_launch_template and delete the first item in the array.
What's the expected behavior?
Recreate the node groups correctly.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: