Renamed an RDS, now can't fully terminate an EB instance

0

While trying to debug a database problem, I manually renamed the RDS created as part of an EB instance. I eventually wanted to tear down the EB and start over, so I ran eb terminate <env name>. I got an error talking about an inability to find the RDS under its old name, and then two more errors relating to failed security group deletions due to dependency violations. The final error reads

Stack deletion failed: The following resource(s) failed to delete: AWSEBSecurityGroup, AWSEBRDSDatabase, AWSEBLoadBalancerSecurityGroup.

How can I terminate the dangling resources and finalize the termination of the EB instance?

Edited by: nbarnes on Mar 30, 2019 1:47 PM

nbarnes
gefragt vor 5 Jahren617 Aufrufe
2 Antworten
0
Akzeptierte Antwort

Hi nbarnes ,

Presently, the only way to terminate your environment is to first delete the underlying CloudFormation stack:

  1. Go to the CloudFormation console.
  2. From the list of stacks, find the stack that is associated with your environment.
  3. Delete the particular CFN stack.
  4. Go to the Elastic Beanstalk console.
  5. Attempt to terminate the environment.

Please let me know if this doesn't work.

Thanks,
Rahul.

AWS
progfan
beantwortet vor 5 Jahren
0

+1, worked like a charm. Thanks.

nbarnes
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen