From aaa45420b68f02093fa32d4b23fab10b269d1cd6 Mon Sep 17 00:00:00 2001 From: Hazmei Abdul Rahman Date: Fri, 22 Dec 2023 14:01:38 +0800 Subject: [PATCH] Update threshold for serverless memory alarm --- alarms.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alarms.tf b/alarms.tf index 1ee2ea6..613fa3a 100644 --- a/alarms.tf +++ b/alarms.tf @@ -107,7 +107,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_serverless_memory" { period = 60 statistic = "Average" - threshold = (var.max_data_storage * 1024 * 1024 * 1024) - var.alarm_memory_threshold_bytes + threshold = (var.max_data_storage * 1000 * 1000 * 1000) - var.alarm_memory_threshold_bytes tags = var.tags