title: terraform code to delete objects in the bucket after 10 days
body: <p>I have to delete objects in the bucket after 10 days. It means all the objects that bucket has more than 10 days older need to be deleted using terraform.</p>
  <p>Wherever I found a code to delete it, it having prefix. What needs to be done if I have to apply to all the objects in buckets instead of prefix.</p>