-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cluster does not recreate or reattach node pools if a change requires cluster respin. #9220
Cluster does not recreate or reattach node pools if a change requires cluster respin. #9220
Comments
I think this is a consequence of the behavior described in hashicorp/terraform#24663. We could allow a workaround here by supporting |
Yes indeed it does sound similar to the example referenced in that ticket. Does it sound like this might be a TF core issue or something in the Google provider? |
From the provider side, I think we can make it so that people can supply |
Thank you |
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
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
(Please see notes later)
Debug Output
Panic Output
Expected Behavior
Terraform should create/recreate or reattach the node pool
Actual Behavior
Terraform deleted the cluster and node pool, respun the cluster, but did not (re)create the node pool
Steps to Reproduce
terraform plan -out tfplan
andterraform apply tfplan
terraform plan -out tfplan
again, you will see the cluster will be respun (the tf files are structured to induce a cluster respin each time to show this issue)terraform apply tfplan
. Terraform will delete the cluster, but does not indicate the node pools are being deleted (they are)terraform plan -out tfplan
andterraform apply tfplan
Important Factoids
This problem appears to stem on the fact there does not appear to be a link between the cluster and the node pools. A change that induces the cluster to delete and be recreated should either also induce the node-pool to delete and be recreated, or the node pool should automatically be reconnected to the new cluster after creation.
References
The text was updated successfully, but these errors were encountered: