-
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
Version 2.20.0 breaking google_bigquery_table expected specifier? #4919
Version 2.20.0 breaking google_bigquery_table expected specifier? #4919
Comments
Seems like https://github.com/terraform-providers/terraform-provider-google/pull/4680/files#diff-cbec323b17374a909a0b4b360c9d3a8aR480 may be the related change here. |
Can you confirm your provider version is |
I am getting this error now as well without having changed any configuration at all (all I did was change source code that some Cloud Functions are using and the BigQuery resources aren’t a part of that). Where is the above code being referenced/called in Terraform Plan? |
@KimRomBot can you also confirm your version? |
So it is indeed 3.0.0-beta.1! Is there any way to tell Terraform to use the latest stable version? |
I'd recommend using version restraints to pin to a specific release / release series as shown in https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html#provider-version-configuration. I believe this would lock you to the provider "google" {
# ... other configuration ...
version = "~> 2.0"
} It may not be possible to revert, since going from |
I had the same issue and can confirm that pinning the provider's version to 2.X (e.g. 2.16.0) solves the problem. The new version |
Thanks for confirming the version! It looks like we didn't catch that this resource relies directly on the I'm working on a fix, I'll try to get it in for the |
This should work again in |
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! |
Community Note
Terraform Version
Terraform v0.12.13
Affected Resource(s)
Terraform Configuration Files
Debug Output
Output from plan command:
Panic Output
Expected Behavior
In this case, I am changing unrelated features and the tables haven't changed on the infrastruture. I would expect for it to continue with the plan and not error on reading the bigquery table state.
Actual Behavior
The plan process fails with the above output.
Steps to Reproduce
terraform plan
Important Factoids
If version 2.19.0 is specified, it does not error. Perhaps related to 2.20.0 release?
This plan command is failing on a state file with existing table resources. The changes in the new plan are unrelated.
References
The text was updated successfully, but these errors were encountered: