Does the environment variable support google engine environment?

I noticed that the developer console does not seem to appear everywhere I can set static environment variables.

Does GAE expect me to bind these variables as part of a deployment from my build server? If so, is there any GAE / Google Cloud documentation that explains why or details the philosophy?

+3
google-app-engine environment-variables
Jun 29 '15 at 17:52
source share
1 answer

Environment variables can be defined in app.yaml

An example for a python / php / application (maybe go?). Java uses a different format.

 env_variables: MY_ENV_VAR: 'some value here' 

https://cloud.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Defining_environment_variables

You can also set these values ​​during the CI process if you need to programmatically add them to your app.yaml before deployment.

+5
Jun 29 '15 at 19:08
source share
β€” -



All Articles