We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ "Rules": [ { "ID": "Expiration-date", "Status": "Enabled", "Filter": { "Prefix": "small" }, "Expiration": { "Date": "2024-01-01T00:00:00.000Z" } } ] }
The text was updated successfully, but these errors were encountered:
Hi @nhaustein I am able to put the past/current date as expiration using aws cli, check below:
Why do you think its a bug can you explain more about it. Thanks
Sorry, something went wrong.
Hi @achouhan09, I thought it is a bug because the test suite we are using (COS) complained about this. I checked the AWS documentation and found that it is ok to provided a date in the past (https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html). With this finding, the issue can be closed. Thanks and happy new year.
Closing with the comment. Thanks
Happy new year
achouhan09
Successfully merging a pull request may close this issue.
Environment info
Actual behavior
{
"Rules": [
{
"ID": "Expiration-date",
"Status": "Enabled",
"Filter": {
"Prefix": "small"
},
"Expiration": { "Date": "2024-01-01T00:00:00.000Z" }
}
]
}
Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: