hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.26k stars 1.7k forks source link

google_bigquery_dataset replica setting #18185

Open jean-mercier-hivebrite opened 2 months ago

jean-mercier-hivebrite commented 2 months ago

Community Note

Description

Hello since november google intrduce replica on biquery dataset https://cloud.google.com/blog/products/data-analytics/introducing-bigquery-cross-region-replication also explain here https://cloud.google.com/bigquery/docs/data-replication

image

Do we have an ETA of when this will be available inside the provider (or perhaps i miss it)

New or Affected Resource(s)

google_bigquery_dataset

Potential Terraform Configuration

resource "google_bigquery_dataset" "target_dataset" {
  dataset_id                  = "your_dataset_id"
  location                    = "your_target_region"
  replica   { 
                      name  = "replica1"
                      location = "replication_region"
 }
  replica   { 
                      name  = "replica2"
                      location = "replication_region2"
 }
...
}

References

No response

b/341993996

wj-chen commented 2 months ago

Terraform support for cross-region dataset replication is in the early planning stage and we don't yet have an ETA. Please continue to follow this issue for updates.