Delete EB Env stuck with "no data"

0

Hi, I have an environment that is stuck on "no data". Im trying to delete it but it always fails, first because it has a coupled database that has already been deleted. I can't change the config because the env is not in "ready" state.

When I try to delete using the web console:

Service:AmazonRDS, Message:DBInstance awseb-e-qxafqnqkpf-stack-awsebrdsdatabase-zkrd0pdemrvu not found.

Using the terminal I get

- eb abort

ERROR: InvalidParameterValueError - Environment named testEnv is in an invalid state for this operation. Must be pending deployment.

- eb terminate --force

ERROR: InvalidParameterValueError - Cannot terminate environment named testEnv. It is currently pending deployment.

Caio
已提問 3 個月前檢視次數 115 次
1 個回答
1
已接受的答案

Hello.

The person asking the URL below seems to have been able to resolve the issue by deleting the CloudFormation stack created by ElasticBeanstalk.
I had a similar experience, and was able to resolve it by manually deleting the CloudFormation stack that also failed to deploy.
https://repost.aws/ja/questions/QU3u9WZeN5R2CT5g-_BWMcDQ/cannot-terminate-stale-beanstalk-environment-with-no-data-state

profile picture
專家
已回答 3 個月前
profile pictureAWS
專家
已審閱 3 個月前
  • Thanks, it worked!

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

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

回答問題指南