Fix folder variables

This commit is contained in:
Julio Castillo 2022-11-12 12:07:48 +01:00
parent 8fe19ad7c2
commit daf0fef7cd
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ variable "logging_sinks" {
validation { validation {
condition = alltrue([ condition = alltrue([
for k, v in var.logging_sinks : for k, v in var.logging_sinks :
v. != true || v.destination.type == "bigquery" v.bq_partitioned_table != true || v.destination.type == "bigquery"
]) ])
error_message = "Can only set when destination type is `bigquery`." error_message = "Can only set when destination type is `bigquery`."
} }