How to change the project in GCP using CLI commands

前端 未结 16 1978
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 18:07

How can i change the current running project to another project in GCP (Google Cloud Platform) account using cli commands other than using

16条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-29 18:40

    gcloud config set project my-project
    

    You may also set the environment variable $CLOUDSDK_CORE_PROJECT.

提交回复
热议问题