fix condition in subnet factory flow logs (#654)

This commit is contained in:
Ludovico Magnocavallo 2022-05-18 10:33:56 +02:00 committed by GitHub
parent 9feb938bed
commit 22d0506f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ locals {
_factory_flow_logs = {
for k, v in local._factory_data : "${v.region}/${k}" => merge(
var.log_config_defaults, try(v.flow_logs, {})
) if try(v.flow_logs, false)
) if try(v.flow_logs, null) != null
}
_factory_private_access = {
for k, v in local._factory_data : "${v.region}/${k}" => try(