Skip to content

Commit ee45543

Browse files
[PRM-134-v2] add permission to get alarms from tags for alerting lambda
1 parent 8fb1f9c commit ee45543

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infrastructure/lambda-im-alerting.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ resource "aws_iam_policy" "alerting_lambda_alarms" {
5353
{
5454
Action = [
5555
"cloudwatch:DescribeAlarms",
56-
"cloudwatch:ListTagsForResource"
56+
"cloudwatch:ListTagsForResource",
57+
"tag:GetResources"
5758
]
5859
Effect = "Allow"
5960
Resource = "arn:aws:cloudwatch:${var.region}:${data.aws_caller_identity.current.account_id}:alarm:*"

0 commit comments

Comments
 (0)