Skip to content

Commit fb64e9e

Browse files
authored
Merge pull request #778 from aws-samples/feature/rollback-s3cleanup
Leave the retain/update policy on S3Cleanup
2 parents 4aac996 + 4caba2a commit fb64e9e

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)