Skip to content

Commit 56ae297

Browse files
committed
Add account id field to the ssm document ARN
1 parent aa1deb9 commit 56ae297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/aws-stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ Resources:
11581158
Statement:
11591159
- Effect: Allow
11601160
Action: ssm:SendCommand
1161-
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:document/AWS-RunShellScript
1161+
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:document/AWS-RunShellScript
11621162
- Effect: Allow
11631163
Action: ssm:SendCommand
11641164
Resource: !Sub arn:${AWS::Partition}:ec2:${AWS::Region}:${AWS::AccountId}:instance/*

0 commit comments

Comments
 (0)