Skip to content

Commit da5b66f

Browse files
authored
chore(readme): add guidance for necessary permissions on build sa (#133)
1 parent c5cd3a7 commit da5b66f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ The resources/services/activations/deletions that this module will create/trigge
1212
This module assumes that below mentioned prerequisites are in place before consuming the module.
1313

1414
* APIs are enabled
15-
* Permissions are available
15+
* Permissions are available.
16+
* You have explicitly granted the necessary IAM roles for the underlying service account used by Cloud Build, `build_service_account`. If `build_service_account` is not specified, then the default compute service account is used, which has [no default IAM roles in new organizations]([url](https://cloud.google.com/resource-manager/docs/secure-by-default-organizations#organization_policies_enforced_on_organization_resources)). At a minimum, the following IAM roles are required for the build service account:
17+
* `roles/logging.logWriter`
18+
* `roles/storage.objectViewer`
19+
* `roles/artifactregistry.writer`
20+
1621

1722
## Usage
1823

0 commit comments

Comments
 (0)