Skip to content

Commit

Permalink
feat: adjust yakima roles in bootstrap (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanemillaire-ssc authored Mar 24, 2023
1 parent 58253a0 commit aeea254
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/bootstrap/setup-kcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,7 @@ gcloud organizations add-iam-policy-binding "${ORG_ID}" \

gcloud projects add-iam-policy-binding "${PROJECT_ID}" \
--member "serviceAccount:${SA_EMAIL}" \
--role "roles/editor" \
--project "${PROJECT_ID}"

gcloud projects add-iam-policy-binding "${PROJECT_ID}" \
--member "serviceAccount:${SA_EMAIL}" \
--role "roles/iam.serviceAccountAdmin" \
--role "roles/serviceusage.serviceUsageConsumer" \
--project "${PROJECT_ID}"

EMAIL=$(gcloud config list --format json|jq .core.account | sed 's/"//g')
Expand Down

0 comments on commit aeea254

Please sign in to comment.