Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Update user_environment_setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
t-karasova authored Mar 24, 2022
1 parent 52c654d commit 11f42ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/interactive-tutorials/user_environment_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ echo $service_account_id
gcloud iam service-accounts create $service_account_id

# assign needed roles to your new service account
for role in {retail.admin,storage.admin,bigquery.admin}
for role in {retail.admin,storage.editor,bigquery.admin}
do
gcloud projects add-iam-policy-binding $project_id --member="serviceAccount:"$service_account_id"@"$project_id".iam.gserviceaccount.com" --role="roles/${role}"
done
Expand All @@ -52,4 +52,4 @@ pip install google-cloud-retail
pip install google-cloud.storage
pip install google-cloud.bigquery

echo "Your working environment is set up now!"
echo "Your working environment is set up now!"

0 comments on commit 11f42ff

Please sign in to comment.