问题
With Elastic Beanstalk, can you specify whether you want to create an RDS database using .ebextensions?
回答1:
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
来源:https://stackoverflow.com/questions/23978501/using-elastic-beanstalk-ebextensions-to-specify-an-rds-database