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
asked 3 years ago861 views
1 Answer
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
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions