Using Elastic Beanstalk .ebextensions to specify an RDS database

amazon-elastic-beanstalk, amazon-rds, amazon-web-services

Solution

No, .ebextensions are evaluated per deployment, not per environment creation. You can choose to create or not the RDS when you create the Environmnet automatically the CLI or the API. Also, you can use a `Resources` key with the `AWSEBRDSDatabase` name in you .ebextensions to get a reference to that database.

see: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-resources.html

Problem

With Elastic Beanstalk, can you specify whether you want to create an RDS database using .ebextensions?

Original source