Skip to content

Commit

Permalink
fix: hardcoded partition in bootstrap bootstrap
Browse files Browse the repository at this point in the history
Removes hardcoded partition in bootstrap template introduced in #24588.

Fix: #25272
  • Loading branch information
MrArnoldPalmer committed Apr 24, 2023
1 parent 8b248d9 commit 496113f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,10 @@ Resources:
Fn::Split:
- "|"
- Fn::Sub:
- "arn:aws:kms:*:${JoinedAccounts}:*"
- "arn:${AWS::Partition}:kms:*:${JoinedAccounts}:*"
- JoinedAccounts:
Fn::Join:
- ":*|arn:aws:kms:*:"
- ":*|arn:${AWS::Partition}:kms:*:"
- { Ref: TrustedAccounts }
Condition:
StringEquals:
Expand Down Expand Up @@ -633,7 +633,7 @@ Resources:
Type: String
Name:
Fn::Sub: '/cdk-bootstrap/${Qualifier}/version'
Value: '17'
Value: '18'
Outputs:
BucketName:
Description: The name of the S3 bucket owned by the CDK toolkit stack
Expand Down

0 comments on commit 496113f

Please sign in to comment.