Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

by | 26 Jan 2018 | Amazon Web Services (AWS), Elastic Beanstalk, Server | 0 comments

Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

Unable to delete AWS Elastic Beanstalk Environment "resource XX-XXXXXXX has a dependent object" - MervCodes

Problem

You will usually get this error when you are trying to delete an Elastic Beanstalk environment.

Solution

As the message in the Events log states, the security group of your Elastic Beanstalk’s environment’s ec2 instance is being referenced in another security group. (This is usually done to allow the ec2 instance to have access to another AWS service.) In this case the security group is referenced in our AWS RDS security group, the deletion works right after removing the reference.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Related Posts