How to configure Elastic Beanstalk for RDS

假如想象 提交于 2019-12-06 08:00:54

I suggest removing the config file from .gitignore and storing two different versions of this file in the two branches - one with RDS and one without.

Update

Your usecase can be satisfied with 'eb branch'. You can then have multiple environments with different configurations. Just select 'n' for the question that asks if you want to copy settings from environment to another. You should then be able to create an environment without an RDS and an environment with an RDS. You can switch between different environments using git checkout then. That way you don't have to remove the file from .gitignore.

More documentation on eb branch here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!