Skip to content

Commit

Permalink
Add definition of table_replication_info to public documentation and …
Browse files Browse the repository at this point in the history
…bigquery/Table.yaml (#10711) (#7401)

[upstream:431220d98f98e65a534e8b6c97ee342d6c694b8f]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 21, 2024
1 parent b081e8c commit ac878b3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions website/docs/r/bigquery_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ in Terraform state, a `terraform destroy` or `terraform apply` that would delete
* `table_constraints` - (Optional) Defines the primary key and foreign keys.
Structure is [documented below](#nested_table_constraints).

* `table_replication_info` - (Optional) Replication info of a table created
using "AS REPLICA" DDL like:
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
Structure is [documented below](#nested_table_replication_info).

* `resource_tags` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
This field is in beta. The tags attached to this table. Tag keys are
globally unique. Tag key is expected to be in the namespaced format, for
Expand Down Expand Up @@ -471,6 +476,17 @@ in Terraform state, a `terraform destroy` or `terraform apply` that would delete
* `referenced_column`: (Required) The column in the primary key that are
referenced by the referencingColumn

<a name="nested_table_replication_info"></a>The `table_replication_info` block supports:

* `source_project_id` (Required) - The ID of the source project.

* `source_dataset_id` (Required) - The ID of the source dataset.

* `source_table_id` (Required) - The ID of the source materialized view.

* `replication_interval_ms` (Optional) - The interval at which the source
materialized view is polled for updates. The default is 300000.

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are
Expand Down

0 comments on commit ac878b3

Please sign in to comment.