File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ resource "aws_elasticache_subnet_group" "default" {
56
56
#
57
57
58
58
resource "aws_cloudwatch_metric_alarm" "cpu" {
59
- alarm_name = " alarmCacheClusterCPUUtilization"
59
+ alarm_name = " alarmCacheClusterCPUUtilization- ${ var . cache_name } "
60
60
alarm_description = " Cache cluster CPU utilization"
61
61
comparison_operator = " GreaterThanThreshold"
62
62
evaluation_periods = " 1"
@@ -74,7 +74,7 @@ resource "aws_cloudwatch_metric_alarm" "cpu" {
74
74
}
75
75
76
76
resource "aws_cloudwatch_metric_alarm" "memory_free" {
77
- alarm_name = " alarmCacheClusterFreeableMemory"
77
+ alarm_name = " alarmCacheClusterFreeableMemory- ${ var . cache_name } "
78
78
alarm_description = " Cache cluster freeable memory"
79
79
comparison_operator = " LessThanThreshold"
80
80
evaluation_periods = " 1"
You can’t perform that action at this time.
0 commit comments