Skip to content

Commit d2230c5

Browse files
authored
Merge pull request #989 from jeremiahsnapp/jsnapp/fix-DescribeAutoScalingInstances-IAM-policy
autoscaling:DescribeAutoScalingInstances can only be applied to all resources
2 parents 80f2dc9 + 59ad5f1 commit d2230c5

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
@@ -826,14 +826,14 @@ Resources:
826826
- !Ref AWS::NoValue
827827
- Effect: Allow
828828
Action:
829+
- autoscaling:DescribeAutoScalingInstances
829830
- cloudwatch:PutMetricData
830831
- cloudformation:DescribeStackResource
831832
- ec2:DescribeTags
832833
Resource: "*"
833834
- Sid: TerminateInstance
834835
Effect: Allow
835836
Action:
836-
- autoscaling:DescribeAutoScalingInstances
837837
- autoscaling:SetInstanceHealth
838838
- autoscaling:TerminateInstanceInAutoScalingGroup
839839
Resource: !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AWS::StackName}-AgentAutoScaleGroup-*

0 commit comments

Comments
 (0)