gcloud config get project

Jmnote (토론 | 기여)님의 2023년 12월 13일 (수) 17:27 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

gcloud config get project
$ gcloud config get project
Your active configuration is: [cloudshell-24680]
(unset)
$ gcloud config set project hello-world-802
Updated property [core/project].
$ gcloud config get project
Your active configuration is: [cloudshell-24680]
hello-world-802
$ gcloud config get-value project
Your active configuration is: [cloudshell-24680]
hello-world-802

$ PROJECT_ID=$(gcloud config get project)
Your active configuration is: [cloudshell-24680]
$ echo $PROJECT_ID
hello-world-802

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}