diff --git a/modules/bigquery-dataset/README.md b/modules/bigquery-dataset/README.md index ff282020bd..2a38cb7372 100644 --- a/modules/bigquery-dataset/README.md +++ b/modules/bigquery-dataset/README.md @@ -294,7 +294,7 @@ module "bigquery-dataset" { | [iam](variables.tf#L92) | IAM bindings in {ROLE => [MEMBERS]} format. Mutually exclusive with the access_* variables used for basic roles. | map(list(string)) | | {} | | [labels](variables.tf#L103) | Dataset labels. | map(string) | | {} | | [location](variables.tf#L109) | Dataset location. | string | | "EU" | -| [materialized_views](variables.tf#L115) | Materialized views definitions. | map(object({…})) | | {} | +| [materialized_views](variables.tf#L115) | Materialized views definitions. | map(object({…})) | | {} | | [options](variables.tf#L148) | Dataset options. | object({…}) | | {} | | [tables](variables.tf#L167) | Table definitions. Options and partitioning default to null. Partitioning can only use `range` or `time`, set the unused one to null. | map(object({…})) | | {} | | [views](variables.tf#L198) | View definitions. | map(object({…})) | | {} | diff --git a/modules/bigquery-dataset/variables.tf b/modules/bigquery-dataset/variables.tf index ecf7c6c3fb..8a33c057d9 100644 --- a/modules/bigquery-dataset/variables.tf +++ b/modules/bigquery-dataset/variables.tf @@ -116,13 +116,13 @@ variable "materialized_views" { description = "Materialized views definitions." type = map(object({ query = string + allow_non_incremental_definition = optional(bool) deletion_protection = optional(bool) description = optional(string, "Terraform managed.") + enable_refresh = optional(bool) friendly_name = optional(string) labels = optional(map(string), {}) - enable_refresh = optional(bool) refresh_interval_ms = optional(bool) - allow_non_incremental_definition = optional(bool) options = optional(object({ clustering = optional(list(string)) expiration_time = optional(number)