Skip to content

Commit

Permalink
adding roles required by SA for deployment |<Jenish>
Browse files Browse the repository at this point in the history
Signed-off-by: jenish-jain <jenishjain@rocketmail.com>
  • Loading branch information
jenish-jain committed Oct 8, 2023
1 parent 2c3417f commit d59e086
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions register_wif.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ export PROJECT_ID="realm-asgard"
export REPO="jenish-jain/bean_counter"

export SERVICE_ACCOUNT_ID="cloud-function-deployer"
# Roles required by SA #
# Cloud Functions Developer
# Cloud Functions Service Agent
# Secret Manager Secret Accessor
# Service Account Token Creator
# Service Account User
# Storage Admin
# Workload Identity User

gcloud iam service-accounts create "${SERVICE_ACCOUNT_ID}" \
--project "${PROJECT_ID}"
Expand Down

0 comments on commit d59e086

Please sign in to comment.