File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ resource "aws_cloudwatch_log_metric_filter" "mesh_processor_error_logs" {
264264
265265 name = " ${ local . short_prefix } -MeshProcessorErrorLogsFilter"
266266 pattern = " %\\ [ERROR\\ ]%"
267- log_group_name = aws_cloudwatch_log_group. mesh_file_converter_log_group . name
267+ log_group_name = aws_cloudwatch_log_group. mesh_file_converter_log_group [ count . index ] . name
268268
269269 metric_transformation {
270270 name = " ${ local . short_prefix } -MeshProcessorErrorLogs"
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ resource "aws_cloudwatch_log_metric_filter" "redis_sync_error_logs" {
270270resource "aws_cloudwatch_metric_alarm" "redis_sync_error_alarm" {
271271 count = var. error_alarm_notifications_enabled ? 1 : 0
272272
273- alarm_name = " ${ local . short_prefix } -id -sync-lambda-error"
273+ alarm_name = " ${ local . short_prefix } -redis -sync-lambda-error"
274274 comparison_operator = " GreaterThanOrEqualToThreshold"
275275 evaluation_periods = 1
276276 metric_name = " ${ local . short_prefix } -RedisSyncErrorLogs"
You can’t perform that action at this time.
0 commit comments