aws / aws/aws-sam-cli

clean up the aws-sam-cli-managed-default bucket artifacts

Open
#2,980 4 comments 11 reactions 0 assignees View on GitHub
area/deploy maintainer/need-followup stage/pm-review type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Description:

### Steps to reproduce:

Create a project and deploy to a stage multiple times.

### Observed result:

You'll see multiple artifacts but seems not needed anyways.

### Expected result:

The s3 bucket should be kept cleaned.

### Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

1. OS: N/A
2. `sam --version`: Latest
3. AWS region: N/A

`Add --debug flag to command you are running`

After months of using AWS sam my bucket has reached 15 GB in file size, so I wondered why AWS SAM simply leaves the default bucket bloated with unneeded files.

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.