NACHIKETA CHAKRABORTY
NACHIKETA CHAKRABORTY

Reputation: 41

Unable to host flask in firebase using cloud run

Repeatedly this error comes in

gcloud beta run deploy --image gcr.io/atlas-mania-ybtcga/atlas-mania-ybtcga

I am trying to host my flask api using firebase cloud run, Following this tutorial but am get stuck after applying above mentioned command as it is unable to find my project even if i have already selected my project using gcloud init.

Upvotes: 0

Views: 273

Answers (1)

guillaume blaquiere
guillaume blaquiere

Reputation: 75705

The assumption of @JohnHanley was correct, you use a old version of gcloud. The gcloud CLI is may be up to date, but not the beta one.

Your GCLOUD cli tries to access to the v1alpha1 API of Cloud Run which no longer exists.

Remove the beta key word in your command or update the beta GCLOUD component.

Upvotes: 3

Related Questions