Skip to content

Commit

Permalink
feat(ENG-1750): GCP sa add jobs permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminch committed May 17, 2024
1 parent dc15c20 commit 1bc780b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions website/static/files/create_credentials_gcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ gcloud services enable compute.googleapis.com
gcloud services enable artifactregistry.googleapis.com
gcloud services enable storage.googleapis.com
gcloud services enable cloudresourcemanager.googleapis.com
gcloud services enable run.googleapis.com

concat_array_to_string() {
array_ref=("${!1}") # Create a copy of the array
Expand Down Expand Up @@ -564,6 +565,41 @@ permissions=(
"storage.objects.setIamPolicy"
"storage.objects.setRetention"
"storage.objects.update"
# Cloud Run
"run.configurations.get"
"run.configurations.list"
"run.executions.cancel"
"run.executions.delete"
"run.executions.list"
"run.executions.get"
"run.jobs.create"
"run.jobs.delete"
"run.jobs.get"
"run.jobs.getIamPolicy"
"run.jobs.list"
"run.jobs.listEffectiveTags"
"run.jobs.listTagBindings"
"run.jobs.run"
"run.jobs.runWithOverrides"
"run.jobs.update"
"run.locations.list"
"run.operations.delete"
"run.operations.get"
"run.operations.list"
"run.revisions.delete"
"run.revisions.get"
"run.revisions.list"
"run.routes.list"
"run.routes.invoke"
"run.routes.get"
"run.services.create"
"run.services.delete"
"run.services.get"
"run.services.getIamPolicy"
"run.services.list"
"run.services.listEffectiveTags"
"run.services.listTagBindings"
"run.services.update"
)

# ROLE
Expand Down

0 comments on commit 1bc780b

Please sign in to comment.