fix typo in logging sinks interface (#2015)

This commit is contained in:
Ludovico Magnocavallo
2024-01-28 10:27:28 +01:00
committed by GitHub
parent f69dfbe0c2
commit bf93b6fb4e
15 changed files with 18 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ resource "google_logging_project_sink" "sink" {
disabled = each.value.disabled
dynamic "bigquery_options" {
for_each = each.value.type == "biquery" && each.value.bq_partitioned_table != null ? [""] : []
for_each = each.value.type == "bigquery" ? [""] : []
content {
use_partitioned_tables = each.value.bq_partitioned_table
}