1

I am trying out flexible environment in Google App Engine using python 3. However, I am figuring out what you can specify in Handlers.script section.

According to this sample code, looks like you allowed to specify other than auto which was only setting you allowed to set in standard environment.

So my question is in flexible environment, what are the syntax you are allowed to set?

I appreciate if I could get some clarification with my question.

Joan Grau Noël
  • 3,084
  • 12
  • 21
Yu Watanabe
  • 621
  • 4
  • 17

1 Answers1

2

There is no handlers section in the flexible environment app.yaml configuration, that's only valid in the standard environment.

In the code you referenced the handlers configs will be ignored, the ingestapp.app will be executed because it is referenced in the entrypoint configuration:

entrypoint: gunicorn -b :$PORT ingestapp:app --timeout 120

Maybe of interest: How to tell if a Google App Engine documentation page applies to the standard or the flexible environment

Dan Cornilescu
  • 39,470
  • 12
  • 57
  • 97