LoginSignup
0
0

More than 1 year has passed since last update.

tensorflow_cloudを動かそうとしてgoogle cloudの権限にはまったので自己メモ

Posted at

対処

serviceAccountに次のコマンドでroleを設定
※[ ]鍵カッコ内は自分の環境に合わせて打ち換えてください。

# for windows command prompt

gcloud projects add-iam-policy-binding ^
[Your project ID] ^
--member="serviceAccount:[your service account]" ^
--role="roles/ml.serviceAgent"

gcloud projects add-iam-policy-binding ^
[Your project ID] ^
--member="serviceAccount:[your service account]" ^
--role="roles/cloudbuild.serviceAgent"

google cloud platform から Cloud Build API を検索して有効化

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0