Reputation: 715
I am trying to enable lifecycle rule for a s3 bucket to move the older files to s3 glacier deep archive, I am planning to keep 6 month files in s3 bucket and rest move to glacier.
But the problem is when I check the older files (which is of 2017) modified date is showing as 2020. If I am going to enable the lifecycle rule starting to archive files older than 180 days. I am not able to do that. Any help would be appreciated.
Note: I am not able to see the created date for the file apart from the listed file name.
Upvotes: 2
Views: 1640
Reputation: 35188
Afraid it only keeps he last modified date
Amazon S3 maintains only the last modified date for each object. For example, the Amazon S3 console shows the Last Modified date in the object Properties pane. When you initially create a new object, this date reflects the date the object is created. If you replace the object, the date changes accordingly. So when we use the term creation date, it is synonymous with the term last modified date.
Sourced from: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
Upvotes: 2