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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠