Skip to content

Commit

Permalink
Merge pull request #678 from ValentinLeTallec/fix/aws-permission
Browse files Browse the repository at this point in the history
AWS permission cloudwatch:DescribeAlarm does not exist (anymore ?) cloudwatch:DescribeAlarms does
  • Loading branch information
jnioche authored Feb 28, 2025
2 parents eac71c8 + e5940ac commit 00943e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/how-to/passing-aws-credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The minimal set of permissions to perform inventory of resources (and query CPU

- ec2:DescribeInstances
- cloudwatch:GetMetricStatistics
- cloudwatch:DescribeAlarm
- cloudwatch:DescribeAlarms

You could also restricts permissions to a specific set of instances or resources.

Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ provider:
Action: "cloudwatch:GetMetricStatistics"
Resource: "*"
- Effect: Allow
Action: "cloudwatch:DescribeAlarm"
Action: "cloudwatch:DescribeAlarms"
Resource: "*"
environment:
BOAVIZTA_API_URL: ${env:BOAVIZTA_API_URL}
Expand Down

0 comments on commit 00943e5

Please sign in to comment.