We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54aa790 commit ada4eefCopy full SHA for ada4eef
templates/aws-stack.yml
@@ -959,9 +959,7 @@ Resources:
959
- Effect: Allow
960
Action:
961
- 'autoscaling:SuspendProcesses'
962
- Resource: !Sub
963
- - "arn:aws:autoscaling:*:*:autoScalingGroup:*:autoScalingGroupName/${LogicalGroupName}"
964
- - LogicalGroupName: !Ref AgentAutoScaleGroup
+ Resource: !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AgentAutoScaleGroup}
965
966
AzRebalancingSuspenderFunction:
967
Type: AWS::Lambda::Function
@@ -1127,4 +1125,3 @@ Resources:
1127
1125
Action: "lambda:InvokeFunction"
1128
1126
Principal: "events.amazonaws.com"
1129
SourceArn: !GetAtt AutoscalingLambdaScheduledRule.Arn
1130
-
0 commit comments