Added back sink iam flag as module users might not have access to the sink destination and the role might need to be granted somewhere else

This commit is contained in:
apichick
2023-11-07 08:11:23 +01:00
parent 2731a3dc7c
commit 0f91a964da
6 changed files with 19 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ locals {
for type in ["bigquery", "logging", "pubsub", "storage"] :
type => {
for name, sink in var.logging_sinks :
name => sink if sink.type == type
name => sink if sink.iam && sink.type == type
}
}
}