LoginSignup
1
0

More than 5 years have passed since last update.

gcloud アカウント変更

Last updated at Posted at 2018-09-08

google cloud でアカウントを変更して操作する場合、下記のスクリプトで変更できる。

macの場合
gcloud config set account xxxxxxxxxxxxxxx@gmail.com
rm ~/.appcfg_oauth2_tokens
rm ~/.appcfg_nag

例えば、
goapp deploy

のアカウントを変更する場合とか。

goapp deployエラー

どこかのファイルでビルドエラーになる場合

Error 500: --- begin server output ---
<h3>Server Error</h3><p>A server error has occurred.</p>
--- end server output ---
error while running appcfg.py: exit status 1

goapp buildではエラーにならない場合でも、goapp deploy時にサーバーでエラーになる。

1
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
1
0