aws-control-tower-customizations icon indicating copy to clipboard operation
aws-control-tower-customizations copied to clipboard

Update deprecated S3 Lifecycle Rule field 'NonCurrentVersionExpirationInDays'

Open nishantcasey opened this issue 1 year ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe.

We noticed the parameter 'NoncurrentVersionExpirationInDays' is being used throughout the cfct template for 4 S3 buckets defined in this template. This has been deprecated according to the CloudFormation documentation and should be updated to utilize 'NoncurrentVersionExpiration'

https://github.com/aws-solutions/aws-control-tower-customizations/blob/57adba6c091942fb901fbe08638f82bcded4c608/customizations-for-aws-control-tower.template#L3043C13-L3043C46

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-noncurrentversionexpirationindays

Describe the feature you'd like Update depreacted field

Additional context https://github.com/aws-solutions/aws-control-tower-customizations/blob/57adba6c091942fb901fbe08638f82bcded4c608/customizations-for-aws-control-tower.template#L3043C13-L3043C46

nishantcasey avatar Sep 20 '24 09:09 nishantcasey