Where can the RDS_DB_NAME setting for an Elastic Beanstalk environment be changed


I have Python code installed in an AWS Elastic Beanstalk environment. This code uses RDS_DB_NAME (and other related environment variables) in the setttings.py file. E.g.

I want to change within the Elastic Beanstalk dashboard where these environment variable point. I.e I want them to point to a different existing RDS database.

Can anyone tell me where in the dashboard these can be changed?


IU assume you’ve NOT asked beanstalk to create the RDS for you, which you shouldn’t have due to lack of flexibility. If you open the beanstalk console, navigate to your environment => configuration => software configuration => environment properties. There you can set RDS_DB_NAME and other environment vars.
This works perfectly for me.

Leave a Reply