Skip to content

Commit

Permalink
Update threshold for serverless memory alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
hazmei committed Dec 22, 2023
1 parent bf5faf1 commit aaa4542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alarms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aaa4542

Please sign in to comment.