Skip to content

Commit

Permalink
Update github actions to include autoscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
brightsparc committed Sep 30, 2021
1 parent f7c9538 commit dceae28
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cloudformation/github-actions-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,21 @@ Resources:
- "cloudwatch:*"
Effect: Allow
Resource: !Sub "arn:aws:cloudwatch:${AWS::Region}:${AWS::AccountId}:alarm:sagemaker-*"
- Action:
- "cloudwatch:*"
Effect: Allow
Resource: !Sub "arn:aws:cloudwatch:${AWS::Region}:${AWS::AccountId}:alarm:sagemaker-*"
- Action:
- "application-autoscaling:DeregisterScalableTarget"
- "application-autoscaling:DeleteScalingPolicy"
- "application-autoscaling:DescribeScalingPolicies"
- "application-autoscaling:PutScalingPolicy"
- "application-autoscaling:DescribeScalingPolicies"
- "application-autoscaling:RegisterScalableTarget"
- "application-autoscaling:DescribeScalableTargets"
- "iam:CreateServiceLinkedRole"
- "cloudwatch:DeleteAlarms"
- "cloudwatch:DescribeAlarms"
- "cloudwatch:PutMetricAlarm"
Effect: Allow
Resource: "*"

0 comments on commit dceae28

Please sign in to comment.