-
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
container_node_pool docs are outdated #2104
Comments
I am also seeing similar issues (w/ zonal clusters) |
You're right that you get exactly that error, but the issue is not with the
You might want to consider the following options if you are trying to create a cluster with only your specified node_pool:
(Code snippets from own config - untested as seen) That should create the cluster with the default node_pool and terraform then removes the default node_pool. You get around the issue by providing @wyardley points to some good discussions about why creating cluster / node_pools can be very tricky. There's a lot of combinations to cover. On the cluster docs it does say:
Unsure how to clarify the docs, but hoping that solution gives a way to achieve what I think you were trying to. |
Should be fixed when I made a pass at these docs, but let me know if that's not the case. GoogleCloudPlatform/magic-modules#1329 |
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! |
https://www.terraform.io/docs/providers/google/r/container_node_pool.html
^-- that usage won't work
Error 400: Cluster.initial_node_count must be greater than zero., badRequest
The text was updated successfully, but these errors were encountered: