Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deal with `app_engine_apis` warning when updating app.yaml from go114 to go115

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?

like image 921
Chris Redford Avatar asked Sep 06 '25 03:09

Chris Redford


1 Answers

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.

like image 140
Rafael Lemos Avatar answered Sep 07 '25 19:09

Rafael Lemos



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!