Difference between revisions of "Gcloud config set project"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE
 
  gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE
 
  Updated property [core/project].
 
  Updated property [core/project].
 +
 +
 +
[[gcloud compute images]] list
 +
ERROR: (gcloud.compute.images.list) The required property [project] is not currently set.
 +
It can be set on a per-command basis by re-running your command with the [--project] flag.
 +
 +
You may set it for your current workspace by running:
 +
 +
  $ [[gcloud config set project]] VALUE
 +
 +
or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT]
  
  

Revision as of 20:11, 21 June 2022

gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE
gcloud config set project YOUR_PROJECT_NAME_CASE_SENSITIVE
Updated property [core/project].


gcloud compute images list
ERROR: (gcloud.compute.images.list) The required property [project] is not currently set.
It can be set on a per-command basis by re-running your command with the [--project] flag.

You may set it for your current workspace by running:

  $ gcloud config set project VALUE

or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT]


Related

See also

Advertising: