Skip to content

Commit

Permalink
YAML whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
yob committed Oct 22, 2020
1 parent 209cdf3 commit db1040c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -945,23 +945,23 @@ Resources:
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
Service:
- lambda.amazonaws.com
Action:
- sts:AssumeRole
- Effect: Allow
Principal:
Service:
- lambda.amazonaws.com
Action:
- sts:AssumeRole
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole
Policies:
- PolicyName: AsgProcessModification
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- 'autoscaling:SuspendProcesses'
Resource: !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AgentAutoScaleGroup}
- PolicyName: AsgProcessModification
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- 'autoscaling:SuspendProcesses'
Resource: !Sub arn:${AWS::Partition}:autoscaling:${AWS::Region}:${AWS::AccountId}:autoScalingGroup:*:autoScalingGroupName/${AgentAutoScaleGroup}

AzRebalancingSuspenderFunction:
Type: AWS::Lambda::Function
Expand Down

0 comments on commit db1040c

Please sign in to comment.