Skip to content

Commit 624ea72

Browse files
committed
Add more automation role iam requirements
1 parent d1c312b commit 624ea72

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

templates/aws-stack.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,10 +1161,15 @@ Resources:
11611161
Resource: "*"
11621162
- Effect: Allow
11631163
Action: ssm:SendCommand
1164-
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:document/AWS-RunShellScript
1164+
Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}::document/AWS-RunShellScript
11651165
- Effect: Allow
11661166
Action: ssm:SendCommand
11671167
Resource: !Sub arn:${AWS::Partition}:ec2:${AWS::Region}:${AWS::AccountId}:instance/*
1168+
- Effect: Allow
1169+
Action:
1170+
- ssm:ListCommands
1171+
- ssm:ListCommandInvocations
1172+
Resource: "*"
11681173
- PolicyName: CompleteLifecycleActions
11691174
PolicyDocument:
11701175
Version: '2012-10-17'

0 commit comments

Comments
 (0)