-
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
Support range partitioning for BigQuery tables #5239
Comments
Is there anything more required, other than editing this file (https://github.com/GoogleCloudPlatform/magic-modules/blob/master/third_party/terraform/resources/resource_bigquery_table.go.erb) and adding documentation somewhere? |
Team, range_partitioning is not working for me. Could you please help to resolve this issue ? Error: Unsupported block type on bigqtable.tf line 51, in resource "google_bigquery_table" "bq_tables_rgpt": Blocks of type "range_partitioning" are not expected here. |
I already answered you yesterday. Are you using the beta provider? |
Thanks for your response tristan957. |
Post your whole resource definition |
Here is my resource definition: resource "google_bigquery_table" "bq_tables_rgpt" { |
post where you instantiate your provider |
provider "google" { provider "google-beta" { terraform { |
you have to specify your beta provider in your resource otherwise you will use the non-beta provider. Reminder that GitHub is not a support forum. |
Thank you so much, Tristan. Appreciate your help! |
no problem. Good luck with your work. |
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Description
Right now the google_bigquery_table resource only supports time partitioning. Google's BigQuery documentation supports a notion of range partitioning (https://cloud.google.com/bigquery/docs/creating-integer-range-partitions). Right now it is impossible to model range partitioned tables in Terraform.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: