aws-ia / terraform-aws-control_tower_account_factory

AWS Control Tower Account Factory
Apache License 2.0
604 stars 386 forks source link

move local.log_archive_bucket_object_expiration_days to a variable var.log_archive_bucket_object_expiration_days #405

Closed silvaalbert closed 3 months ago

silvaalbert commented 7 months ago

Describe the outcome you'd like

Moving local.log_archive_bucket_object_expiration_days to a variable var.log_archive_bucket_object_expiration_days would allow customers to increase/decrease that value if desired. The value of 365 can be set as a default so that the current retention remains the same.

stumins commented 7 months ago

Hi @silvaalbert,

Thank you for opening this feature request. I've created a backlog item for the team to investigate exposing the archive bucket object expiration days as a deployment parameter.

Sanjan611 commented 4 months ago

Hey @silvaalbert , we've addressed this feature request in the latest release of AFT!

https://github.com/aws-ia/terraform-aws-control_tower_account_factory/releases/tag/1.12.0