invalid runtime value go when trying to deplay a proxy app

Viewed 499

I'm trying to deploy my direction app in Google Cloud Console using the terminal with:

gcloud app deploy

But I get this error:

peter@cloudshell:~/direction-proxy (myapp-3f67k)$ gcloud app deploy
ERROR: (gcloud.app.deploy) Staging command [/usr/lib/google-cloud-sdk/platform/google_appengine/go-app-stager /home/peter/direction-proxy/app.yaml /home/peter/direction-proxy /tmp/tmpw9zlbhhe/tmp74n__vq4] failed with return code [1].
------------------------------------ STDOUT ------------------------------------
------------------------------------ STDERR ------------------------------------
2020/06/19 13:08:51 invalid runtime value go
--------------------------------------------------------------------------------

This is my app.yaml file that I think it produces this error but I have hard times understanding. I'm very new to Go.

runtime: go
api_version: go1

handlers:
- url: /.*
  script: _go_app
  login: admin
0 Answers
Related