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
已提問 5 年前檢視次數 617 次
2 個答案
0
已接受的答案

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
已回答 5 年前
0

+1, worked like a charm. Thanks.

nbarnes
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南