-
Notifications
You must be signed in to change notification settings - Fork 1.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
Unable to create multiple node pools #1397
Comments
Hi @krzkowalczyk |
I'm facing exactly same error, with service account resource created in different configuration. I had to comment the second node_pools, run terraform apply, then uncomment the code and re-run terraform apply to make it work. Error:
My code:
|
TL;DR
It is not possible to create GKE cluster with multiple node pools at once.
It only works if we create GKE cluster with one node pool, and later on add additional ones.
Expected behavior
All defined node pools are being created successfully
Observed behavior
Where I want to create a new cluster containing multiple node pools, during
terraform plan
orterraform apply
there is an error:Therefore, If I define just one node pool and create the cluster, and later add second pool terraform properly creates the missing pool.
The problem exists only if I want to create at once GKE cluster + multiple node pools.
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: