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
demandé il y a 3 ans869 vues
1 réponse
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions