Script to delete thousands of delete marker in a S3 bucket

s3 delete marker

Last week, we got an incident that some of the data are missing in a versioning enabled S3 bucket. The S3 bucket in question has lifecycle policy enabled, which expires the objects after 90 days (adds delete marker) and permanently delete them after 30 days of becoming previous versions. Reported missing data belong to the … Continue reading Script to delete thousands of delete marker in a S3 bucket