We ended up doing something similar to what Ani suggests. However, we are now considering this new feature (beta): https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables
On Saturday, September 9, 2017 at 4:20:44 PM UTC+2, Alex G wrote: > > Moving our apps from Heroku to App Engine has been great, but there are a > few things that we miss. In particular, having a way to define config > variables <https://devcenter.heroku.com/articles/config-vars> in Cloud > Console would be great. We have tried a couple of approaches but none are > optimal: > > - Place config within env_variables > > <https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#Node.js_app_yaml_Defining_environment_variables> > > in the app.yaml file. Not ideal to store secrets since anyone deploying > the > app has access to the app.yaml and those secrets. > - Place config in Cloud Storage. Hard to edit, prone to errors (e.g. > breaking the JSON file that might contain them) and it doesn't trigger an > app restart with the updated config (I believe Heroku restarts the app > every time you change a config variable). > > Are there any ideas on implementing a similar feature in App Engine? > Is there a better way of currently handling those config vars? > > Thanks > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/5c5584e1-bb3f-4fda-b8f9-b32e921f4aac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
