-
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
Unclear error 400 on creating private cluster: (cluster.master_ipv4_cidr causes http 400) #3981
Comments
@vdboor - you can specify |
@tysen Thanks for taking care! :-) In the end I solved it by setting My main reason for reporting this issue is because of it's unclear message. I'd expect that Terraform would at least warn that setting |
@vdboor I think there's a typo in your message in the second part, did you mean "private_cluster_config.master_ipv4_cidr_block is required when enable_private_nodes=true"? |
@calmacara Yes, that seems to be the case. The API returns a HTTP 400 when it's not provided for private clusters. |
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! |
When I tried creating a VPC-based cluster, I got an unclear error message. This was caused by a faulty
enable_private_nodes = true
setting (this should have been kept on false)Terraform v0.12.3
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
Expected behavior
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: