diff --git a/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_alarms.tf b/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_alarms.tf index e059f65f9..221bf39a8 100644 --- a/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_alarms.tf +++ b/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_alarms.tf @@ -196,8 +196,8 @@ resource "aws_cloudwatch_metric_alarm" "pinpoint-sms-success-rate-warning" { resource "aws_cloudwatch_metric_alarm" "pinpoint-sms-success-rate-critical" { count = var.cloudwatch_enabled ? 1 : 0 - alarm_name = "pinpoint-sms-success-rate-canadian-numbers-critical" - alarm_description = "Pinpoint SMS success rate to Canadian numbers is below 25% over 2 consecutive periods of 12 hours" + alarm_name = "pinpoint-sms-success-rate-critical" + alarm_description = "Pinpoint SMS success rate is below 25% over 2 consecutive periods of 12 hours" comparison_operator = "LessThanThreshold" evaluation_periods = "2" datapoints_to_alarm = "2" diff --git a/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_logs.tf b/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_logs.tf index 4603bb439..754a887c7 100644 --- a/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_logs.tf +++ b/aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_logs.tf @@ -3,7 +3,7 @@ # resource "aws_cloudwatch_log_group" "pinpoint_deliveries" { - name = "sns/${var.region}/${var.account_id}/PinPointDirectPublishToPhoneNumber" + name = "sns/${var.region}/${var.account_id}/PinpointDirectPublishToPhoneNumber" retention_in_days = var.sensitive_log_retention_period_days tags = { CostCenter = "notification-canada-ca-${var.env}" @@ -11,7 +11,7 @@ resource "aws_cloudwatch_log_group" "pinpoint_deliveries" { } resource "aws_cloudwatch_log_group" "pinpoint_deliveries_failures" { - name = "sns/${var.region}/${var.account_id}/PinPointDirectPublishToPhoneNumber/Failure" + name = "sns/${var.region}/${var.account_id}/PinpointDirectPublishToPhoneNumber/Failure" retention_in_days = var.sensitive_log_retention_period_days tags = { CostCenter = "notification-canada-ca-${var.env}" diff --git a/aws/pinpoint_to_sqs_sms_callbacks/dashboards.tf b/aws/pinpoint_to_sqs_sms_callbacks/dashboards.tf index b3906643b..06807b2c8 100644 --- a/aws/pinpoint_to_sqs_sms_callbacks/dashboards.tf +++ b/aws/pinpoint_to_sqs_sms_callbacks/dashboards.tf @@ -1,6 +1,6 @@ resource "aws_cloudwatch_dashboard" "pinpoint" { count = var.cloudwatch_enabled ? 1 : 0 - dashboard_name = "Pinpoint" + dashboard_name = "SMS-Pinpoint" dashboard_body = <