1 개요[ | ]
- gcloud config get project
Console
Copy
$ gcloud config get project
Your active configuration is: [cloudshell-24680]
(unset)
Console
Copy
$ gcloud config set project hello-world-802
Updated property [core/project].
Console
Copy
$ gcloud config get project
Your active configuration is: [cloudshell-24680]
hello-world-802
Console
Copy
$ gcloud config get-value project
Your active configuration is: [cloudshell-24680]
hello-world-802
Console
Copy
$ PROJECT_ID=$(gcloud config get project)
Your active configuration is: [cloudshell-24680]
Console
Copy
$ echo $PROJECT_ID
hello-world-802
2 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.