I recently updated my app.yaml
from
runtime: go114
to
runtime: go115
because I was warned in an email that support for go114
was ending.
The service deployed fine but after it finished, I got the message:
Updating service [default]...⠼WARNING: There is an indirect dependency on App Engine APIs, but they are not enabled in your app.yaml. You may see runtime errors trying to access these APIs. Set the app_engine_apis property.
So I added:
app_engine_apis: true
And now the service won't deploy and gives this error:
ERROR: (gcloud.app.deploy) An error occurred while parsing file: [<snip>/app.yaml] Unexpected attribute 'app_engine_apis' for object of type AppInfoExternal.
Looks like a catch 22. How do I deal with this?
CodePudding user response:
Posting this as community wiki as it's based on @Joel's comments.
It looks like this is being triggered, since those APIs aren't enabled yet in go115
, you might get a runtime error.
I would say that you should probably reach out to Google Cloud either in their Issue Tracker system or open an Issue in this Github Page so that they can fix this issue, as there doesn't seem to be any workarounds for this one.