Rename bigquery_use_partitioned_table

This commit is contained in:
Julio Castillo
2022-11-12 11:30:34 +01:00
parent c7fe6da12e
commit 8fe19ad7c2
10 changed files with 31 additions and 31 deletions

View File

@@ -129,8 +129,8 @@ variable "logging_exclusions" {
variable "logging_sinks" {
description = "Logging sinks to create for the organization."
type = map(object({
bigquery_use_partitioned_table = optional(bool)
description = optional(string)
bq_partitioned_table = optional(bool)
description = optional(string)
destination = object({
type = string
target = string
@@ -152,9 +152,9 @@ variable "logging_sinks" {
validation {
condition = alltrue([
for k, v in var.logging_sinks :
v.bigquery_use_partitioned_table != true || v.destination.type == "bigquery"
v.bq_partitioned_table != true || v.destination.type == "bigquery"
])
error_message = "Can only set bigquery_use_partitioned_table when destination type is `bigquery`."
error_message = "Can only set bq_partitioned_table when destination type is `bigquery`."
}
}