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

State of worker group launch templates stored with keys instead of indices #778

Closed
2 of 4 tasks
isaaguilar opened this issue Mar 11, 2020 · 2 comments
Closed
2 of 4 tasks

Comments

@isaaguilar
Copy link

isaaguilar commented Mar 11, 2020

I have issues...

changing/adding/updating worker groups

It would be nice, particularly for worker/node groups, to store state using keys instead of indices. I've run into issues with state wanting to destroy resources when indices get re-ordered. This issue is already documented in this faq https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md#how-do-i-safely-remove-old-worker-groups

I'm submitting a...

  • bug report
  • feature request
  • support request - read the FAQ first!
  • kudos, thank you, warm fuzzy

Are you able to fix this problem and submit a PR? Link here if you have already.

No PR, but I have made some changes in a fork that suited my needs. I did, however, have to remove a feature (namely data.aws_iam_instance_profile.custom_worker_group_launch_template_iam_instance_profile).].

Here's my changes: master...isaaguilar:day2-ready-launch-templates

This module was a great jumping off point. I hope the changes could be used in some future releases.

Environment details

  • Affected module version:
  • OS: osx
  • Terraform version: 0.12.23

Any other relevant info

@barryib
Copy link
Member

barryib commented Mar 11, 2020

Duplicates #476

You should also follow #774

@barryib barryib closed this as completed Mar 11, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants