aws-amplify / aws-amplify/amplify-cli

Delete S3 bucket content before the publish

Open
#433 3 comments 0 reactions 0 assignees View on GitHub
feature-request hosting p4
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

When amplify publish starts, it builds and uploads files to s3, but doesn't delete the actual S3 bucket content, so we end up after a month of updates with a bucket with over hundreds and hundreds of files,

**Describe the solution you'd like**
Before the Amplify uploads files, delete everything in the bucket.

**Describe alternatives you've considered**
i do aws s3 rm s3://bucket --recursive before the amplify publish -c

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.