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
preguntada hace 3 años869 visualizaciones
1 Respuesta
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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas