Skip to content

Commit

Permalink
fix: Use correct IAM view role in example (#115)
Browse files Browse the repository at this point in the history
* fix: Use correct IAM view role in example

Fixes #114

* Update README.md
  • Loading branch information
morgante committed May 13, 2021
1 parent 1fe315a commit 4a9931d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple_bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module "bucket" {
}]

iam_members = [{
role = "roles/storage.viewer"
role = "roles/storage.objectViewer"
member = "user:example-user@example.com"
}]
}
2 changes: 1 addition & 1 deletion modules/simple_bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "bucket" {
project_id = "example-project"
location = "us-east1"
iam_members = [{
role = "roles/storage.viewer"
role = "roles/storage.objectViewer"
member = "user:example-user@example.com"
}]
}
Expand Down

0 comments on commit 4a9931d

Please sign in to comment.