Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Spaces Lifecycle is not expiring files
I am trying to setup a lifecycle rule to delete all files older than 5 days. I can successfully PUT the lifecycle and confirmed it is up there with a GET. However, it doesn’t look like any files are getting removed.
Below is the rules.json file:
“ID”: “Remove old files”,
And here is the AWS command I used:
aws s3api –endpoint-url=https://nyc3.digitaloceanspaces.com \
–bucket REDACTED \
Am I missing something obvious?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×