Quantcast
Channel: プログラミング
Viewing all articles
Browse latest Browse all 7910

【GCP】gcloud コマンドのプロジェクトの切り替え方 - ものづくりのブログ

$
0
0

gcloud コマンドでプロジェクトの切り替え方がわからなかったので調べたことをここにメモします。

現在のアカウントやプロジェクトを確認する方法

$ gcloud config list                         
[core]
account = xxxxxxxx@xxxxxxxx.jp
disable_usage_reporting = True
project = xxxxxxxxxx

Your active configuration is: [default]

アカウント切り替え

$ gcloud auth login

プロジェクト切り替え

$ gcloud config set project PROJECT_ID

Viewing all articles
Browse latest Browse all 7910

Trending Articles