let say I have several ElasticBeanstalk enviroments:
- productionMyApp
- stagingMyApp
- qaMyApp
Each environment has really similar Dockerrun.aws.json (what volumes should be linked where) but different environment variables (e.g. what is the RDS db url, what is the Password for RDS, mandril API key ...)
should I store the environment variables for each environment in own file (qa-Dockerrun.aws.json, prod-Dockerrun.aws.json, ...) and tell eb deploy
to use that file (if so how can I do this ?? )
or
should I set the environments with eb setenv POSTGRES_PASS=xyzsecretabc
doc and not place them to Dockerrun.aws.json
Any other suggestions are welcome
I want to avoid having my sensitive information stored in git
of course
Thank you