Skip to content

Commit 99b8605

Browse files
authored
fix: add missing policies for the autoscaler (#1328)
## Description The policies `autoscaling:CompleteLifecycleAction` and `autoscaling:DescribeLifecycleHooks` were missing for the autoscaler. This PR adds them. `Aug 11 19:52:40 ip-172-21-252-42 monitor_runner.sh[31313]: An error occurred (AccessDenied) when calling the DescribeLifecycleHooks operation: User: arn:aws:sts::[ACCOUN_ID]:assumed-role/runners-fleet-test-instance/i-00a91317465c7587a is not authorized to perform: autoscaling:DescribeLifecycleHooks because no identity-based policy allows the autoscaling:DescribeLifecycleHooks action` Relates to #1316
1 parent e5f2515 commit 99b8605

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

policies/instance-docker-autoscaler-policy.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"Effect": "Allow",
66
"Action": [
77
"autoscaling:SetDesiredCapacity",
8-
"autoscaling:TerminateInstanceInAutoScalingGroup"
8+
"autoscaling:TerminateInstanceInAutoScalingGroup",
9+
"autoscaling:CompleteLifecycleAction",
10+
"autoscaling:DescribeLifecycleHooks"
911
],
1012
"Resource": "${autoscaler_asg_arn}"
1113
},

0 commit comments

Comments
 (0)