aws / aws/aws-cdk-cli

aws-cdk-cli: when using -e, it hangs on publishing

Open
#756 3 comments 0 reactions 0 assignees View on GitHub
bug effort/medium p2
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
![image](https://github.com/aws/aws-cdk-cli/assets/144667412/8f7797fd-efc4-4f43-a220-5a1464477110)

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.