aws-amplify / aws-amplify/amplify-cli
Delete S3 bucket content before the publish
Open
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
Assessment
This issue has not been assessed yet.