Skip to content
New issue

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

Update lifecycle config for the logs bucket. #1002

Merged

Conversation

mrinaudo-aws
Copy link
Contributor

Issue #, if available:
Fix #1001

Description of changes:
For the logs bucket described in the template, update its lifecycle configuration as follows:

  • replace the existing rule with Status: Enabled and ExpirationInDays: 3653 with the same content, and:
    • add a name for the rule, for consistency;
    • add configuration to expunge noncurrent objects (as the logs bucket is versioned) after one day they became noncurrent (in the case of this versioned bucket with ExpirationInDays: 3653, objects will be made noncurrent after 10 years or 3653 days);
  • add another, separate rule to expunge expired object delete markers.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mrinaudo-aws mrinaudo-aws merged commit 7f36a87 into aws-cloudformation:master May 19, 2023
@mrinaudo-aws mrinaudo-aws deleted the log-bucket-config-updates branch May 19, 2023 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update objects lifecycle configuration for the logging bucket
3 participants