Skip to content

Commit 9e96b04

Browse files
add cloudwatch:PutMetricData permission
1 parent 6764866 commit 9e96b04

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

infrastructure/terraform/components/api/module_lambda_upsert_letter.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,16 @@ data "aws_iam_policy_document" "upsert_letter_lambda" {
8585
module.sqs_letter_updates.sqs_queue_arn
8686
]
8787
}
88+
89+
statement {
90+
sid = "AllowCloudWatchMetrics"
91+
effect = "Allow"
92+
93+
actions = [
94+
"cloudwatch:PutMetricData"
95+
]
96+
97+
resources = ["*"]
98+
}
99+
88100
}

0 commit comments

Comments
 (0)