Skip to content

Commit 28a111c

Browse files
committed
Give the automation role permission to invoke autoscaling:TerminateInstanceInAutoScalingGroup
1 parent 01aa09b commit 28a111c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/aws-stack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,9 @@ Resources:
12091209
Version: '2012-10-17'
12101210
Statement:
12111211
- Effect: Allow
1212-
Action: autoscaling:CompleteLifecycleAction
1212+
Action:
1213+
- autoscaling:CompleteLifecycleAction
1214+
- autoscaling:TerminateInstanceInAutoScalingGroup
12131215
Resource: !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AWS::StackName}-AgentAutoScaleGroup-*
12141216

12151217
BootHook:

0 commit comments

Comments
 (0)