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

feat: bucket_logs_enabled logs never expire #105

Open
jrobison-sb opened this issue Dec 9, 2022 · 0 comments
Open

feat: bucket_logs_enabled logs never expire #105

jrobison-sb opened this issue Dec 9, 2022 · 0 comments

Comments

@jrobison-sb
Copy link

Feature Request

Describe the Feature Request

When bucket_logs_enabled is enabled, a logging bucket will be created and access logs from the cloudtrail bucket will be delivered to the logging bucket.

But those access logs in the logging bucket will persist forever without ever expiring. It would be nice to give the user a configurable way to expire those logs, such as a logging_bucket_lifecycle_expiration_in_days variable. If this variable is set by the user, then a lifecycle configuration could be created to expire old logs from the logging bucket after N days.

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

No branches or pull requests

1 participant