We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59ff98c + 1db8642 commit cb493d6Copy full SHA for cb493d6
recipes/security/public_certs/assets/main.yaml
@@ -208,7 +208,7 @@ Resources:
208
- Action:
209
- ssm:GetParameter
210
Effect: Allow
211
- Resource: "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2"
+ Resource: !Sub "arn:${AWS::Partition}:ssm:${AWS::Region}::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2"
212
- PolicyName: LaunchEC2Instance
213
PolicyDocument:
214
Version: 2012-10-17
0 commit comments