Storage Notification IAM permission example #1071
Labels
area/api-docs
area/docs
Improvements or additions to documentation
area/examples
kind/enhancement
Improvements or new features
File: docs/reference/pkg/gcp/storage/notification.md
Hi, the doc suggests an example for granting permissions for the Storage project Service Account to publish to Pub/Sub.
I suggest such an example, which is currently missing, be included as it's a bit tricky.
I also used
pubsub.TopicIAMMember
to grant the storage SArole/pubsub.publisher
on the topic itself rather than project-wide "projects.topics.publish" on the SA,Not sure what's the best approach but might be worth a mention.
Cheers
The text was updated successfully, but these errors were encountered: