aws / aws/aws-elastic-beanstalk-cli-setup
eb abort and eb terminate contradiction
- Dominant language
- Python
- Stars
- 537
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
**1. Please specify the following:**
- OS: Manjaro KDE Linux
- Shell: Zsh
- [X] **I have reviewed the troubleshooting tips described [here]() and they do not solve my problem**
**2. Description**
`eb terminate` and `eb abort` contradict themselves about whether a deployment is pending or not.
```
➜ eb terminate
The environment "XXXXXXX" and all associated instances will be terminated.
To confirm, type the environment name: XXXXXXX
ERROR: InvalidParameterValueError - Cannot terminate environment named XXXXXXX. It is currently pending deployment.
➜ eb abort
ERROR: InvalidParameterValueError - Environment named XXXXXXX is in an invalid state for this operation. Must be pending deployment.
```
Contributor guide
Research direction
Start by reproducing the reported behavior with `eb terminate` and `eb abort` on Manjaro KDE Linux under Zsh, using an environment in the same deployment state. Compare each command's handling of the pending-deployment state and its error message; done means the commands no longer contradict whether the operation is valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100