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

fix: add create_launch_template to node group pet marker #1349

Conversation

jack1902
Copy link

@jack1902 jack1902 commented May 12, 2021

PR o'clock

relates to: #1348

Description

When changing create_launch_template ONLY on my node_groups, it caused terraform to blow up because it couldn't create a new node group with the same name. This took me by surprise.

Checklist

jack1902 added 2 commits May 12, 2021 17:21
- When using this option alone, the nodegroup re-create in place blows
  up as the pet name is node changed. By adding this to the pet marker,
  it ensures that a new pet name is generated if this variable is
  flipped
@jack1902 jack1902 changed the title Bug/node group pet marker add create_launch_template to node group pet marker May 12, 2021
@jack1902 jack1902 changed the title add create_launch_template to node group pet marker fix: add create_launch_template to node group pet marker May 12, 2021
@jack1902
Copy link
Author

@barryib appreciate you are probably very busy, but any chance this could get a review?

@barryib
Copy link
Member

barryib commented May 19, 2021

@jack1902 There is discussion about removing random pet from MNG. Please follow #1372

@jack1902
Copy link
Author

@barryib ok, assuming that PR gets merged soon then i'm happy for this to be closed

This feature missing was a PITA to resolve when i needed to cycle a full node group, which resulted in terraform erroring out as the nodegroup already existed. We went from no Launch Template to having one which didn't change the pet-name but resulted in a re-creation because of #1348 meant our entire mesh network died due to nodes having different security groups based on launch template

@jack1902 jack1902 closed this May 19, 2021
@jack1902 jack1902 deleted the bug/node_group_pet_marker branch May 19, 2021 16:00
@github-actions
Copy link

I'm going to lock this pull request 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 related to this change, 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 15, 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

Successfully merging this pull request may close these issues.

2 participants