Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matusgallik opened this issue Jan 7, 2024 · 2 comments
Open

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

matusgallik opened this issue Jan 7, 2024 · 2 comments
Labels
@aws-cdk/aws-dynamodb Related to Amazon DynamoDB bug This issue is a bug. cli Issues related to the CDK CLI effort/medium Medium work item – several days of effort p2

Comments

@matusgallik
Copy link

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

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

@matusgallik matusgallik added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 7, 2024
@github-actions github-actions bot added the @aws-cdk/aws-dynamodb Related to Amazon DynamoDB label Jan 7, 2024
@matusgallik
Copy link
Author

Actually, I left it hanging and ended up getting this Reached heap limit Allocation failed - JavaScript heap out of memory

@pahud
Copy link
Contributor

pahud commented Jan 8, 2024

related to #3325 (comment)

Let me know if it helps and please share the minimal code so we can investigate. Thanks.

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Jan 8, 2024
@pahud pahud added the cli Issues related to the CDK CLI label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-dynamodb Related to Amazon DynamoDB bug This issue is a bug. cli Issues related to the CDK CLI effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

No branches or pull requests

2 participants