Skip to content

Commit 3a7e337

Browse files
authored
Feature/rgjb eli 398 acm expiry alarm update (#459)
* Added ACM alarms to terraform * Updated to 'standarised' severity level * Added dimesnion arg to acm alarm
1 parent 758a8d7 commit 3a7e337

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

infrastructure/stacks/api-layer/cloudwatch_alarms.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,10 @@ resource "aws_cloudwatch_metric_alarm" "acm_expiry_alarms" {
477477
period = each.value.period
478478
treat_missing_data = each.value.treat_missing_data
479479

480+
dimensions = {
481+
CertificateArn = data.aws_acm_certificate.imported_cert.arn
482+
}
483+
480484
tags = {
481485
Environment = var.environment
482486
AlertType = "security"

0 commit comments

Comments
 (0)