在app.yaml env_variables中,无法处理换行代码

I want to set the string include line feed code to envinronment variables. So, I set the following app.yaml.

env_variables:
  PARAM1: "aaa
bbb"

In my local env (Mac OSX), appengine golang application get the collect data.

aaa
bbb

But, I uploaded to Standard GAE environment, application get only "aaa".

Should I do any other settings?

My guess is that the yaml parser between the 2 environments is slightly different.

Does it work if you try switch to one of these multiline string formats for yaml?

In YAML, how do I break a string over multiple lines?

This answer looks promising for you: https://stackoverflow.com/a/15365296/4458510