diff --git a/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml b/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml index ad71c39535426..164f72d626c53 100644 --- a/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml +++ b/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml @@ -207,11 +207,11 @@ Resources: Status: Enabled LifecycleConfiguration: Rules: - # Exising objects will never be overwritten but Security Hub wants this rule to exist + # Objects will only be noncurrent if they are deleted via garbage collection. - Id: CleanupOldVersions Status: Enabled NoncurrentVersionExpiration: - NoncurrentDays: 365 + NoncurrentDays: 30 UpdateReplacePolicy: Retain DeletionPolicy: Retain StagingBucketPolicy: @@ -653,7 +653,7 @@ Resources: Type: String Name: Fn::Sub: '/cdk-bootstrap/${Qualifier}/version' - Value: '23' + Value: '24' Outputs: BucketName: Description: The name of the S3 bucket owned by the CDK toolkit stack