From 0a3ae99ee2b8530af222bb50c0fab3e0f1ca7641 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 24 Jun 2019 12:48:18 -0700 Subject: [PATCH] Use non-authoritative IAM policy (#3903) Signed-off-by: Modular Magician --- website/docs/r/logging_organization_sink.html.markdown | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/r/logging_organization_sink.html.markdown b/website/docs/r/logging_organization_sink.html.markdown index ea9f5ed9a59..92a22446046 100644 --- a/website/docs/r/logging_organization_sink.html.markdown +++ b/website/docs/r/logging_organization_sink.html.markdown @@ -33,12 +33,10 @@ resource "google_storage_bucket" "log-bucket" { name = "organization-logging-bucket" } -resource "google_project_iam_binding" "log-writer" { +resource "google_project_iam_member" "log-writer" { role = "roles/storage.objectCreator" - members = [ - "${google_logging_organization_sink.my-sink.writer_identity}", - ] + member = "${google_logging_organization_sink.my-sink.writer_identity}" } ```