bootstrap s3 bucket: add lifecycle policy option #13968
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
package/tools
Related to AWS CDK Tools or CLI
I looked at the bootstrap template and am unsure if it's safe to add a lifecycle policy to the staging s3 bucket to delete objects after 7 days or even 1 day.
https://github.com/aws/aws-cdk/blob/master/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml
It would be helpful if there was an option or at least a comment saying if this is safe to do, and frankly I'm not sure why it's not the default. Isn't 100 trillion objects in S3 enough for you guys? Are these assets needed for more than a day, to handle stack deploys?
The text was updated successfully, but these errors were encountered: