-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Enabling private nodes in GKE does not recreate the node pools #8243
Comments
@mbrancato don't you need to add |
@edwardmedia I provided a very slim example. In reality, I do have an |
@mbrancato this is the same behavior as this due to the limitation of Terraform Core. It is not related only to |
@mbrancato closing this then |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
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
Initial config looks similar to this:
Modified config looks like this:
Debug Output
Panic Output
Expected Behavior
Terraform plan should warn about deleting the cluster and node pool.
Terraform apply should delete and recreate both the cluster and node pool.
Actual Behavior
Terraform does not delete the node pool, but does delete the cluster (which, in effect, deletes the node pool).
Terrraform creates the replacement cluster, but it has no node pools.
Steps to Reproduce
terraform apply
terraform apply
terraform apply
one more time and node pools will finally be createdImportant Factoids
When performing
terraform apply
, my plan output showed this: (snippet)The replacement cluster now has no node pools, but a node pool is defined in Terraform:
Running a
terraform plan
orterraform apply
will perform a refresh and show that the node pool is missing.References
The text was updated successfully, but these errors were encountered: