I currently have my app up and running, the app.yaml and dispatch.yaml are in the root of the application and I deploy through Google Cloud CLI.
This works well for the moment, though as I move to having a dev, staging and prod environment I can see that it's no longer viable.
The main issue I see is that I have to edit the variables in the app.yaml file so they are appropriate for environment (for example I use env_variables to store mysql credentials...).
I can't find anything in the docs that points to the correct way to manage this, any ideas?
Also... When deploying from a GIT repo it seems that the app.yaml needs to be in the repo, is this correct? It doesn't seem right to me... There must be a better way!
gcloud config configurations activate <ENVIRONMENT>gcloud app deploy app_<ENVIRONMENT>.yaml --version <VERSION>cloud.google.com/sdk/docs/managing-configurations cloud.google.com/sdk/gcloud/reference/app/deploygcloudsomehow auto-generate a separateapp_<ENVIRONMENT>.yamlfile for each dev, staging & prod environments? If so, how does it know what values of each environment var to pass into the file? I'm thinking about a case, say, where you have a 'HOST' and 'PORT' vars for each env and how it would set them