Project env vars (like GCP_PROJECT, CLOUDSDK_CORE_PROJECT) are no longer set when debugging cloud run locally

470 Views Asked by At

I used to have a number of environment vars set when I tried to run my Cloud Run Dockerfile locally.

  • GCP_PROJECT
  • GCLOUD_PROJECT
  • CLOUDSDK_CORE_PROJECT
  • GOOGLE_CLOUD_PROJECT

They all were just the same value – my locally configured Google Cloud project.

Now they are all gone.

Am I doing something wrong with my configuration? Did something change recently?

Help!

1

There are 1 best solutions below

1
On

Short-term work-around:

minikube delete --purge --all and run again.

Sounds like there might be a bug that Matthew will dig in on.