Cannot terminate stale beanstalk environment with No Data state

0

We have created an Elastic Beanstalk environment using terraform and due to some missing access rights, the deployment of the environment failed. Unfortunately we cannot delete the environment. It appears with a Gray one-way-road sign and indicates No Data. Deletion never succeeded no matter if performed via console or cli or eb tools. We could not see any EC2 instances, LBs and related resources. The only potential reason were two connected security groups but these were removed manually.

Since then, the environment cannot be terminated nor rebuilt.

For someone with super powers, this is the statement we have been using on the cli:

aws elasticbeanstalk terminate-environment --region eu-central-1 --terminate-resources --environment-name ecs-go-ebs-api-dev --force-terminate

(environment id is e-3pdkp687nb in eu-central-1).

Many thanks for any suggestions or help.

Mathias

maku
已提问 3 年前869 查看次数
1 回答
0

Well, this was just a short living thread but finally I solved it by myself.

The problem was the underlying CloudFormation stack associated with the environment. After deleting the stack, the environment terminated within seconds.

maku
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则