Skip to content

Commit 543d5f2

Browse files
committed
add DeletionPolicy and UpdateReplacePolicy
1 parent 628aa71 commit 543d5f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ Resources:
166166
Fn::Sub: "${FilePublishingRole.Arn}"
167167
Resource: "*"
168168
Condition: CreateNewKey
169+
UpdateReplacePolicy: Delete
170+
DeletionPolicy: Delete
169171
FileAssetsBucketEncryptionKeyAlias:
170172
Condition: CreateNewKey
171173
Type: AWS::KMS::Alias
@@ -657,7 +659,7 @@ Resources:
657659
Type: String
658660
Name:
659661
Fn::Sub: '/cdk-bootstrap/${Qualifier}/version'
660-
Value: '25'
662+
Value: '26'
661663
Outputs:
662664
BucketName:
663665
Description: The name of the S3 bucket owned by the CDK toolkit stack

0 commit comments

Comments
 (0)