Fix IAM bindings for logging sinks

- Move to non-authoritative bindings to allow multiple sinks to write to
  the same destination
- Allow automatically adding logging bucket IAM bindings
This commit is contained in:
Julio Castillo
2021-03-31 09:57:23 +02:00
parent 37935cee3a
commit 94b1a439ee
10 changed files with 54 additions and 26 deletions

View File

@@ -51,7 +51,7 @@ output "firewall_policy_id" {
}
output "sink_writer_identities" {
description = ""
description = "Writer identities created for each sink."
value = {
for name, sink in google_logging_folder_sink.sink : name => sink.writer_identity
}