So add a new environment variable to the worker tier and copy/paste the value from the web tier. Unless you are constantly rebuilding or creating new environments that value shouldn't be changing. There is no real "connection" between RDS and your web tier, just a little management that Elastic Beanstalk is performing for you. You can perform that same stuff by yourself.
↧