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
posta 3 anni fa869 visualizzazioni
1 Risposta
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
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande