Coalfire-CF / terraform-aws-account-setup

Coalfire AWS Account Setup Terraform Module
https://coalfire.com/opensource
MIT License
2 stars 1 forks source link

Add lifecycle policy to Fedramp and other relevant s3 buckets where we don't want objects to expire #29

Closed az-kennedy closed 2 months ago

az-kennedy commented 2 months ago

Is your feature request related to a problem? Please describe. Some s3 buckets we don't want data to expire in, for example the fedramp docs bucket.

Describe the solution you'd like Add the following to the s3 buckets where we don't want an expiration:

lifecycle_configuration_rules = [
    {
      id      = "default"
      enabled = true

      enable_glacier_transition            = false
      enable_current_object_expiration     = false
      enable_noncurrent_version_expiration = false

      abort_incomplete_multipart_upload_days = 1
    }
  ]

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.