skip to Main Content

I want to use S3 Lifecycle to remove non-current version object, here is my configuration
enter image description here

Here is my non-current version object,
enter image description here

and its lifecycle rule information

enter image description here

There is no rule apply to hello.tar. Do I misconfigure the S3 Lifecycle rule?

After a few days testing,
hello.tar was deleted as planned after 1 days, with slightly delay of a few hours. However, The applied rule hadn’t been displayed in the Management Configuration section.
The lifecycle rule functioned correctly, but there was an issue with the UI.

2

Answers


  1. Chosen as BEST ANSWER

    Thanks for Riku_Kobayashi's answer from aws:repost, and allow me to share his answer here.

    Perhaps what you can see from the object screen is only the lifecycle rules set in the current version of the action. The description of the "Expiration date" states "The object will be made noncurrent and generate a delete marker on this date.", so the Noncurrent version of the action is not relevant. Therefore, the "Noncurrent versions actions" rule cannot be checked from the S3 object. enter image description here


  2. Was the object already there when you created the rule? In this case, there may be a slight delay (i.e. rules have day granularity and run on daily basis) until it is applied retroactively.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search