-
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
Ignore order of BigQuery table columns #8282
Ignore order of BigQuery table columns #8282
Comments
Need to review this change |
Combined with this introduced in 3.54.0, reordering causes table to be recreated on apply. |
@ScottSuarez are you able to take a look and determine whether we should revert GoogleCloudPlatform/magic-modules#4400 or attempt to fix-forward? Also see #8258 (comment). |
I'll /should/ be able to fix this. I wish we had a testcase for this scenario. I did not realize we could reorder the columns. Sorry about that folks ! We'll revert this for next release and work on proper fix for this scenario before checking in. |
@paxorus: To be clear, you're seeing the same behaviour on both Also, spoke with @ScottSuarez and our plan is to revert GoogleCloudPlatform/magic-modules#4400 for |
|
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
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
We use Terraform Enterprise to plan and apply, and I'm not sure how to generate debug output with it.
Panic Output
None
Expected Behavior
The diff should be clean in v3.53.0, as it was in v3.39.0. We have confirmation from the GCP Support team that BigQuery columns are not guaranteed to stay in a particular order.
Actual Behavior
The plan shows that the google_bigquery_table resource needs to be changed, when using provider v3.53.0.
Steps to Reproduce
terraform init -upgrade
togoogle = "~> 3.53.0"
.terraform apply
with the first TF config.terraform plan
will show a diff (that we expect to be suppressed).terraform apply
will not do anything to the table. It will not re-order the columns, so it's a permadiff.terraform init -upgrade
togoogle = "~> 3.39.0"
.terraform plan
. The diff will now be clean.Important Factoids
References
The text was updated successfully, but these errors were encountered: