Skip to content

Commit 4caba2a

Browse files
author
Austin Johnson
committed
Leave the retain/update policy on S3Cleanup
1 parent a8eb4e8 commit 4caba2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/codebuild-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,8 @@ Resources:
12371237
# custom resource to cleanup S3 buckets
12381238
S3Cleanup:
12391239
Type: Custom::S3Cleanup
1240+
DeletionPolicy: Retain
1241+
UpdateReplacePolicy: Retain
12401242
Condition: ShouldCleanupBuckets
12411243
Properties:
12421244
ServiceToken: !GetAtt S3CleanupLambda.Arn

0 commit comments

Comments
 (0)