Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
feat: permissions for alertmanger datasource (#241)
Browse files Browse the repository at this point in the history
* feat: enable alertmanger datasource

* fix: run terraform fmt

---------

Co-authored-by: Todd Wells <[email protected]>
  • Loading branch information
twellspring and Todd Wells authored Mar 11, 2024
1 parent 14a5f78 commit 28964a2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ resource "aws_iam_role_policy" "grafana_xray_policy" {
"ec2:DescribeRegions"
],
"Resource" : "*"
},
{
"Effect" : "Allow",
"Action" : [
"aps:ListRules",
"aps:ListAlertManagerSilences",
"aps:ListAlertManagerAlerts",
"aps:GetAlertManagerStatus",
"aps:ListAlertManagerAlertGroups",
"aps:PutAlertManagerSilences",
"aps:DeleteAlertManagerSilence"
],
"Resource" : "*"
}
]
})
Expand Down

0 comments on commit 28964a2

Please sign in to comment.