Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Cloud Shell Error

When I run the command "gcloud compute instances list" in a new terminal window(SSH Cloud Shell), it gives me an error "ERROR: (gcloud.compute.instances.list) The project property is set to the empty string, which is invalid. To set your project, run:". But when I run the same command in the same browser window in which GCP is running it runs fine. why is that?

Arun Aravind

Hello Rajat, i think the project might not be set when we create a new shell . can you run this command and see if the project is set properly? " gcloud config get-value project "

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?