Skip to content

Commit

Permalink
Merge pull request #61 from zl4bv/update-iam-role-scaling-activities
Browse files Browse the repository at this point in the history
Update IAM policy to allow describing scaling activities
  • Loading branch information
moskyb authored Aug 3, 2022
2 parents 0ef24be + 9e6cf8e commit f14a98b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ An AWS Lambda bundle is created and published as part of the build process. The

- `cloudwatch:PutMetricData`
- `autoscaling:DescribeAutoScalingGroups`
- `autoscaling:DescribeScalingActivities`
- `autoscaling:SetDesiredCapacity`

It's entrypoint is `handler`, it requires a `go1.x` environment and requires the following env vars:
Expand Down
1 change: 1 addition & 0 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Resources:
- autoscaling:DescribeAutoScalingGroups
# *
- autoscaling:SetDesiredCapacity
- autoscaling:DescribeScalingActivities
# # arn:aws:autoscaling:$region:$account:autoScalingGroup:$uuid:autoScalingGroupName/$name
Resource: '*'
- PolicyName: WriteCloudwatchMetrics
Expand Down

0 comments on commit f14a98b

Please sign in to comment.