-
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
Error deleting default node pool: googleapi: Error 404: Not found #2184
Comments
I fixed it by making by changing the name of the default pool from very creative
I'm going to leave this open, because I still don't understand why this happened :/ can't I specify the name of the pool when creating it? |
@amingilani can you explain your I've been trying all sorts of combinations with that, and so far I'm still getting the 404 error. |
Hey @amingilani, the reason the default node pool can't be found is that if you add a node pool at cluster creation time (on the cluster resource), then it won't add a default node pool. I'd recommend only defining your node pools via the node pool resource and using |
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 👉 [email protected]. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/amingilani/d8481a323a19cf051d826b2514c04299#file-terraform-output-failure-txt
Expected Behavior
The entire plan should have applied with no errors.
Actual Behavior
The plan threw an error and stopped. I believe the error occured because it tried to delete the default node pool (
remove_default_node_pool = true
), but the default node pool hadn't yet been created.Steps to Reproduce
terraform apply
Important Factoids
References
remove_default_node_pool
was added via add ability to delete the default node pool #1245The text was updated successfully, but these errors were encountered: