Delete EB Env stuck with "no data"

0

Hi, I have an environment that is stuck on "no data". Im trying to delete it but it always fails, first because it has a coupled database that has already been deleted. I can't change the config because the env is not in "ready" state.

When I try to delete using the web console:

Service:AmazonRDS, Message:DBInstance awseb-e-qxafqnqkpf-stack-awsebrdsdatabase-zkrd0pdemrvu not found.

Using the terminal I get

- eb abort

ERROR: InvalidParameterValueError - Environment named testEnv is in an invalid state for this operation. Must be pending deployment.

- eb terminate --force

ERROR: InvalidParameterValueError - Cannot terminate environment named testEnv. It is currently pending deployment.

Caio
asked 2 months ago100 views
1 Answer
1
Accepted Answer

Hello.

The person asking the URL below seems to have been able to resolve the issue by deleting the CloudFormation stack created by ElasticBeanstalk.
I had a similar experience, and was able to resolve it by manually deleting the CloudFormation stack that also failed to deploy.
https://repost.aws/ja/questions/QU3u9WZeN5R2CT5g-_BWMcDQ/cannot-terminate-stale-beanstalk-environment-with-no-data-state

profile picture
EXPERT
answered 2 months ago
profile pictureAWS
EXPERT
reviewed 2 months ago
  • Thanks, it worked!

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