copilot-cli
copilot-cli copied to clipboard
[Feature Request]: Before delete check that can be deleted
Describe your idea/feature/enhancement
Before delete check that can be deleted..
Proposal
For each thing, it should check if is possible to delete like:
- an s3 not being able to be deleted because not empty
- a subnet because used by something that is not controlled by copilot
- a network interface used by a lambda
Additional Details
Deleting things when failing becomes a hunt to see what is going on and do things "manually" or try to put again the env/src/job again and delete it to see if it works.
Guess it is more work, but will be nice to know or have better descriptive/exact outputs of what/why failed.