gcloud config get project

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 }}