Simplify log_sink local
This commit is contained in:
parent
0bf1880431
commit
29ce5f666d
|
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue