cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

AWS::S3::Bucket-Rule-ExpiredObjectDeleteMarker

Open cccassidy opened this issue 7 years ago • 30 comments

1. Title

AWS::S3::Bucket-Rule-ExpiredObjectDeleteMarker

2. Scope of request

Add ExpiredObjectDeleteMarker option to S3 lifecycle policy specifications.

3. Expected behavior

Enable/Disable remove of expired object delete markers

Resources:
  S3Bucket:
    Type: AWS::S3::Bucket
    Properties:
      LifecycleConfiguration:
        Rules:
          - Id: DeleteMarker
            Prefix: "/"
            Status: Enabled
            ExpiredObjectDeleteMarker: true

5. Helpful Links to speed up research and evaluation

https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-configuration-examples.html#lifecycle-config-conceptual-ex7

6. Category (required) - Will help with tagging and be easier to find by other users to +1

Storage (S3, EFS, Backup...)

cccassidy avatar Aug 18 '19 23:08 cccassidy

@TheDanBlanco Is there any way to get this onto the roadmap?

rectalogic avatar Feb 11 '20 20:02 rectalogic

we prioritize items mostly based on +1's. you can almost always accurately track which items we're looking at putting on our roadmap by filtering for +1's.

TheDanBlanco avatar Feb 11 '20 21:02 TheDanBlanco

To clarify, by +1s you mean positive reaction emojis on the issue?

benkehoe avatar Feb 11 '20 21:02 benkehoe

yep!

TheDanBlanco avatar Feb 11 '20 21:02 TheDanBlanco

It's usually better etiquette to use reactions (the "😀" button on a comment) than to have lots of individual people clutter up the comments (and notifications) with "+1" comments. And when you put 👍 on an issue, it's easier to see the support for an issue right up front!

benkehoe avatar Mar 26 '20 14:03 benkehoe

ben's right! please only use emoji reactions to the initial post as that's how we determine which items to work on. we'll be deleting any comments that just say +1 as they only serve to clutter the discussion. thank you!

TheDanBlanco avatar Mar 26 '20 15:03 TheDanBlanco

@TheDanBlanco do you know, if you're maintaining a bucket via cloudformation, and you go in and set the ExpiredObjectDeleteMarker checkbox in the console, will that cause stack drift? Or since it's not CF-able, it will avoid interference?

dflanzer-s1 avatar Apr 21 '20 16:04 dflanzer-s1

@dflanzer-s1 What I've seen is subsequent updates to the S3 bucket through CloudFormation will remove any manual lifecycle policies you enter from the console.

cccassidy avatar Apr 21 '20 17:04 cccassidy

@dflanzer-s1 Just confirmed, drift detection will detect a drift. image

LaikaN57 avatar May 02 '20 06:05 LaikaN57

+1 from me; this is a real pain point for us currently.

markatthrive avatar Jun 25 '20 08:06 markatthrive

+1

jonathanwcrane avatar Jun 30 '20 13:06 jonathanwcrane

@markatthrive @jonathanwcrane Can you please react +1 to the issue as well if you have not done so. They only use that to determine issue sort order. Comments are ignored.

LaikaN57 avatar Jun 30 '20 23:06 LaikaN57

This is a pretty critical setting on S3 especially if you're using it as a backend for Athena or other systems that are querying the bucket.

I have a lifecycle policy that expires old versions to keep the bucket clean, but I'm left with an abundance of delete-markers that slow down s3:List* performance significantly.

For now I'm left with no choice than to drift the stack by modifying the lifecycle rule.

It's been nearly a year since this was submitted and this item is No. 2 on the most +1'd issues on the tracker. Is this going to happen?

Ricapar avatar Jul 20 '20 18:07 Ricapar

Now 15 months old and the highest +1'd issue. Any update on roadmap?

efenderbosch avatar Nov 17 '20 16:11 efenderbosch

+1

LYLeon avatar Jan 14 '21 09:01 LYLeon

+1

MikeKroell avatar Mar 24 '21 17:03 MikeKroell

@MikeKroell @LYLeon @jonathanwcrane @markatthrive

If you react with the 👍 button to the original issue, (the first comment, click on the smiley face if you're the first reacting), your votes can be used to sort issues and determine priorities.

A comment will send a notification to everyone (participants and watchers), but cannot be easily counted as a vote for an issue. Thus It's generally better to vote than to comment with "+1". To keep up to date, you can also add yourself as a watcher.

benbridts avatar Mar 24 '21 21:03 benbridts

@LaikaN57 @benbridts Yes, I already upvoted that when I posted my comment. 194 upvotes and we're still waiting.

just-waiting

markatthrive avatar Mar 25 '21 08:03 markatthrive

we prioritize items mostly based on +1's. you can almost always accurately track which items we're looking at putting on our roadmap by filtering for +1's.

I just sorted all the issues in this repo by +1s and this issue is in first place. All 5 of the top 5 are from 2019. Seems like AWS makes progress on requested features about as quickly as container ships can currently navigate the Suez Canal.

jonathanwcrane avatar Mar 25 '21 13:03 jonathanwcrane

We are actively working on releasing (moved item to "Coming Soon"). While I can't provide an exact date for official release, it is targeted for Q2.

craigataws avatar Mar 26 '21 21:03 craigataws