terraform-google-modules / terraform-google-org-policy

Manages Google Cloud organization policies
https://registry.terraform.io/modules/terraform-google-modules/org-policy/google
Apache License 2.0
79 stars 79 forks source link

Domain Restricted Sharing README update. #47

Closed ankiclockwise closed 3 years ago

ankiclockwise commented 3 years ago

when i put the domain name there was a permission error. It'll be good to know through the readme that you must have the roles/resourcemanager.organizationViewer role (or equivalent permissions) at the organization level

bharathkkb commented 3 years ago

We have the permissions listed here https://github.com/terraform-google-modules/terraform-google-org-policy#permissions Feel free to reopen if that does not clarify.

ankiclockwise commented 3 years ago

We have the permissions listed here https://github.com/terraform-google-modules/terraform-google-org-policy#permissions Feel free to reopen if that does not clarify.

The above link mentions organisation policy Admin role . But Domain-restricted-sharing module has google_organization data source inside main.tf that needs the roles/resourcemanager.organizationViewer. right?