Update logging sink to tf1.3 in resman modules

This commit is contained in:
Julio Castillo
2022-11-11 19:05:39 +01:00
parent e6947dd6a6
commit 486d398c7d
21 changed files with 484 additions and 418 deletions

View File

@@ -192,13 +192,9 @@ module "organization" {
}
logging_sinks = {
for name, attrs in var.log_sinks : name => {
bq_partitioned_table = attrs.type == "bigquery"
destination = local.log_sink_destinations[name].id
exclusions = {}
filter = attrs.filter
iam = true
include_children = true
type = attrs.type
destination = local.log_sink_destinations[name].as_logging_destination
filter = attrs.filter
bigquery_use_partitioned_table = attrs.type == "bigquery"
}
}
}