terraform-google-modules / terraform-google-bigquery

Creates opinionated BigQuery datasets and tables
https://registry.terraform.io/modules/terraform-google-modules/bigquery/google
Apache License 2.0
199 stars 169 forks source link

require_partition_filter is deprecated in .terraform/modules/bigquery/main.tf line 67, in resource "google_bigquery_table" "main" #311

Closed habur6 closed 3 months ago

habur6 commented 7 months ago

TL;DR

require_partition_filter in time_partitioning block is deprecated. This is causing the warning below while using the module. require_partition_filter in time_partitioning is still mandatory to use the module. Please upgrade to the latest version of https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/bigquery_table

As per below url, the documentation mentiones the deprecation. require_partition_filter - (Optional) If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. require_partition_filter is deprecated and will be removed in a future major release. Use the top level field with the same name instead.

│ Warning: Argument is deprecated │ │ with module.bigquery.google_bigquery_table.main["recsrc_gtm_events"], │ on .terraform/modules/bigquery/main.tf line 67, in resource "google_bigquery_table" "main": │ 67: resource "google_bigquery_table" "main" { │ │ This field is deprecated and will be removed in a future major release; │ please use the top level field with the same name instead. │ │ (and 2 more similar warnings elsewhere)

Terraform Resources

No response

Detailed design

No response

Additional information

No response

rhettBIngka commented 7 months ago

+1

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

mlopezgez commented 5 months ago

+1

japerry911 commented 3 months ago

+1