IssueRaiser

(synth): Toolkit should cleanup old assets in the cdk.out directory

Each time I run a CDK deploy I get a new asset in the asset's directory, and they seem to accumulate forever. Each asset folder is around 100 MB for me, so this quickly adds up to many GB of data. Here is a screenshot of it accumulating assets again after the last time I cleaned it out manually. ![Screen Shot 2019-06-13 at 2 26 47 PM](https://user-images.githubusercontent.com/3495674/59458394-5b960c00-8de8-11e9-9147-ae0ff1ad3b81.png) Ideally I would like a CDK configuration that would cause CDK to automatically garbage collect older asset files it no longer needs so I don't have to do it manually.

Posted by nathanpeck on Jun 13, 2019, 6:35 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

github (Other)

(synth): Toolkit should cleanup old assets in the cdk.out directory

nathanpeckJun 13, 2019, 6:35 PM

Each time I run a CDK deploy I get a new asset in the asset's directory, and they seem to accumulate forever. Each asset folder is around 100 MB for me, so this quickly adds up to many GB of data. Here is a screenshot of it accumulating assets again after the last time I cleaned it out manually. ![Screen Shot 2019-06-13 at 2 26 47 PM](https://user-images.githubusercontent.com/3495674/59458394-5b960c00-8de8-11e9-9147-ae0ff1ad3b81.png) Ideally I would like a CDK configuration that would cause CDK to automatically garbage collect older asset files it no longer needs so I don't have to do it manually.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue