Skip to content

Commit

Permalink
fix(core): incorrect GetParameter permissions in nonstandard partitio…
Browse files Browse the repository at this point in the history
…ns (#12813)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
cmckni3 authored Feb 4, 2021
1 parent 404b556 commit be7202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Resources:
Action:
- ssm:GetParameter
Resource:
- Fn::Sub: "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter${CdkBootstrapVersion}"
- Fn::Sub: "arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:parameter${CdkBootstrapVersion}"
Version: '2012-10-17'
PolicyName: default
RoleName:
Expand Down

0 comments on commit be7202f

Please sign in to comment.