Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 81f85f1

Browse files
committedFeb 25, 2025·
add DeletionPolicy and UpdateReplacePolicy
1 parent 757ae69 commit 81f85f1

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

+3-1
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)
Please sign in to comment.