Skip to content

feat: bucket_logs_enabled logs never expireΒ #105

@jrobison-sb

Description

@jrobison-sb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions