Skip to content

Commit

Permalink
only keep 2 noncurrent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
its-felix committed May 5, 2024
1 parent b665c2b commit ae8cafe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cdk/lib/stacks/data-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export class DataStack extends cdk.Stack {
enabled: true,
abortIncompleteMultipartUploadAfter: Duration.days(1),
},
{
enabled: false,
noncurrentVersionsToRetain: 2,
},
],
});
}
Expand Down

0 comments on commit ae8cafe

Please sign in to comment.