aws cdk synth results in NEW folder under /tmp every time a command is run, which results to 100% disk space usage over time #29368
Labels
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
package/tools
Related to AWS CDK Tools or CLI
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I am using WSL 2 with Ubuntu distro. Every time I run cdk synth, the cdk.out file is saved in /tmp folder. Over time, the user is surprised that he has no space left on the disk. Investigation of this took hours, and finally it occurred that cdk synth saving files to /tmp is the issue.
Expected Behavior
I guess this should have some limit at least if it really do need to save it there.
Current Behavior
Out of disk space over time
Reproduction Steps
Have a project. Run cdk synth 1000 times.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.128.0
Framework Version
No response
Node.js Version
20.x
OS
Ubuntu WSL 2
Language
TypeScript
Language Version
5.1.6
Other information
No response
The text was updated successfully, but these errors were encountered: