-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 plan crashing on nil pointer - google provider #4010
Comments
Getting a similar error while building a gcp managed k8s cluster with private node pool |
Yeah it seems to be when it tries to create the node pool |
This should be fixed by GoogleCloudPlatform/magic-modules#2035 when that's merged |
Additional nil checks prevent this crash, fixed in GoogleCloudPlatform/magic-modules#2035 This will be available with the next release expected early next week. |
Any idea when this is going live or how I get around it? this is blocking a bit rollout for us. |
As temporary solution I add resource "google_container_cluster" "primary" {
name = "primary-cluster"
maintenance_policy {
daily_maintenance_window {
start_time = "03:00"
}
}
} |
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! |
This issue was originally opened by @TE-Chris as hashicorp/terraform#22041. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
0.12.3
Terraform Configuration Files
Debug Output
Crash Output
https://gist.github.com/te-chris/b3ad78777a4784679c04057519339365
Expected Behavior
Terraform plan should run
Actual Behavior
Terraform plan crashed while acquiring state
Steps to Reproduce
terraform init
terraform apply
terraform plan
Additional Context
Terraform is running with the TF cloud backend.
The text was updated successfully, but these errors were encountered: