aws-cdk-cli: when using -e, it hangs on publishing
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 122
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 71
Description
### Describe the bug
I have several stacks. First (Data) creates DynamoDB tables and then the next one (COmpute) imports these and passes them to other resources. When I delete a table from Data I need to first run `cdk deploy -e compute ` to make sure that the table is no longer used and then I can run the Data/whole deployment to prevent CDK shouting at me. However, if I do cdk -e compute, it gets stuck at

### Expected Behavior
I would expect it to not hang.
### Current Behavior
It just hangs here and I have to kill it.
### Reproduction Steps
Maybe just creating two stacks like mentioned?
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### CDK CLI Version
2.99.1 (build b2a895e)
### Framework Version
_No response_
### Node.js Version
v18.16.1
### OS
Ubuntu
### Language
TypeScript
### Language Version
_No response_
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.