Open kevinovendenwtc opened 3 months ago
google provider update --> v5.40.0. Added BQ Table.deletion_protection: TRUE
Above resolved the issue.
TAG Policy and BQ Table deletion_protection interaction a potential for review.
Hi @kevinovendenwtc!
I tried to replicate this issue but the result was successful without errors and it was an update-in-place instead of a replacement destroying the existing resource.
On the other hand I think that it's not possible to update it since this is a deprecated argument and it is about to be removed for many reasons.
By removing the require_partition_filter
argument, you've effectively replicated the previous behavior. BigQuery will now enforce the use of partition filters for queries on your time-partitioned table.
No further configuration changes are needed.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.3 on linux_amd64
Affected Resource(s)
Big Query Table (resource "google_bigquery_table").
Terraform Configuration
Debug Output
No response
Expected Behavior
The BQ Table should not be destroyed (drop/create).
Actual Behavior
BQ Table destroyed, built.
Steps to reproduce
terraform apply
Important Factoids
I've tried tf destroy, tf apply. Re-creating from scratch. The BQ Table is reporting destroy in each plan / apply.
Attempted terraform init -upgrade --> v5.39.0/1, same behaviour.
References
No response