This document will walk you through what is required of your Google Cloud Platform (GCP) setup to run the Github Foundations bootstrap layer.
-
Install Gcloud CLI tool
- Install the Google Cloud Platform tool according to your operating system's instructions (https://cloud.google.com/sdk/docs/install)
-
Authenticate with required permissions
- Login to the GCP CLI with the command
gcloud auth application-default loginunder a service account with the following roles for your organization:roles/iam.workloadIdentityPoolAdminroles/iam.serviceAccountAdminroles/resourcemanager.projectMoverroles/resourcemanager.projectDeleterroles/resourcemanager.folderEditorroles/storage.adminroles/storage.objectAdmin
- Login to the GCP CLI with the command
Note: This setup will grant extensive permissions within your GCP project and organization. Please ensure you understand the implications of assigning these roles and permissions before proceeding.
Resources:
- GCP CLI: https://cloud.google.com/sdk/docs/install
- GCP IAM Roles: https://cloud.google.com/iam/docs/understanding-roles