0

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!

Kevin Moore
  • 5,921
  • 2
  • 29
  • 43
  • 1
    Hey Kevin, just to clarify, are you running your app using Cloud Code for IntelliJ (https://cloud.google.com/code/docs/intellij) or using some other method? – Matthew Apr 14 '21 at 14:18
  • Cloud Code for IntelliJ it is! – Kevin Moore Apr 14 '21 at 14:58
  • As far as I know, Cloud Code never set those environment variables. I did a quick scan through the gcloud changelog too and nothing stood out (https://cloud.google.com/sdk/docs/release-notes). Do you happen to know of a past Cloud Code release that exhibited this behavior? https://plugins.jetbrains.com/plugin/8079-cloud-code/versions – Matthew Apr 15 '21 at 00:23
  • Thanks for looking @Matthew – I couldn't find anything in the release notes, either. I honestly don't know if it's the Cloud Code version or some change in my configuration that caused this! – Kevin Moore Apr 15 '21 at 00:30

1 Answers1

0

Short-term work-around:

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

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

Kevin Moore
  • 5,921
  • 2
  • 29
  • 43