-
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
Terraform crash on plan/apply/destroy operation on google-beta container cluster #4756
Comments
I also get the error message |
Have you cut an issue with the terraform core repo and submitted the crash.log file? |
@tysen I believe this is not necessary as the TF devs would redirect us back to the provider. I've bumped the google-beta provider to the latest version but the issue still persists. The stack trace suggests that the crash happened when there's a null object on this line https://github.com/terraform-providers/terraform-provider-google-beta/blob/release-2.18.1/google-beta/resource_container_cluster.go#L1198 |
Taken a look at the REST API responses. On a working cluster, the response contains an empty On the cluster that has the crashing issue (this), the response does not contain a Neither of these clusters have shielded nodes configured, so it is unknown why would the REST API return different results. |
This PR should fix the issue: GoogleCloudPlatform/magic-modules#2555 |
Same issue here, my work-around was to force update the cluster with
|
Pinning the google-beta provider to 2.17.0 also seems to be a temp fix, fwiw |
That's what I have also done. |
GoogleCloudPlatform/magic-modules#2555 is merged. Fix should be in next release. |
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
Terraform Version
Affected Resource(s)
Terraform Configuration Files
I am using the terraform-google-kubernetes-engine tf module:
Debug Output
N/A
Panic Output
https://gist.github.com/chrissng/c01959daad9050de7339ab44bca03663#file-crash-log
Expected Behavior
The plan should succeed
Actual Behavior
The terraform google-beta provider crashed
Steps to Reproduce
terraform plan
Important Factoids
Terraform is ran with Terragrunt. I have multiple GKE clusters setup using the same terraform module, however only one particular cluster (this) has the crashing issue.
Issue persists without using Terragrunt (using terraform directly).
References
The text was updated successfully, but these errors were encountered: