Simplify log_sink local

This commit is contained in:
Julio Castillo 2022-06-10 10:39:02 +02:00
parent 0bf1880431
commit 29ce5f666d
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ locals {
{ for k, v in var.log_sinks : k => module.log-export-gcs.0 if v.type == "storage" },
# use separate pubsub topics and logging buckets for sinks with
# destination `pubsub` and `logging`
{ for k, v in module.log-export-pubsub : k => v },
{ for k, v in module.log-export-logbucket : k => v }
module.log-export-pubsub,
module.log-export-logbucket
)
}