-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Support node_group_name_prefix for aws_eks_node_group #16699
Comments
This seems to be fixed by the following PRs once merged. |
Thanks, I missed those PRs! |
@mfreebairn-r7 this was fixed in #13938 which made it's way into v3.40.0. As a workaround before the PR got accepted I started changing the instance type in a custom launch template instead which allowed me to change the instance type without bringing down all the nodes. |
This appears to be resolved as the comments indicates. Closing. |
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. |
Community Note
Description
aws_eks_node_group should support node_group_name_prefix.
Currently it only supports
node_group_name
. This is an issue when you want to change instance type(s) for your node group as terraform forces a replacement of the node group, and becausenode_group_name
must be unique, this therefore prevents you from adding thecreate_before_destroy
lifecycle.This leads to downtime (zero compute due to the node group having to be destroyed) every time you want to change instance type(s) (even if you are only adding an additional instance type to the
instance_types
list).node_group_name_prefix
would allow us to supportcreate_before_destroy
and therefore we could bring up a new node group prior to destroying the old one when we want to changeinstance_types
New or Affected Resource(s)
aws_eks_node_group
The text was updated successfully, but these errors were encountered: