Skip to content

Commit d47cfab

Browse files
committed
fix log group terraform error
1 parent e5928c1 commit d47cfab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infrastructure/instance/mesh_processor.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

infrastructure/instance/redis_sync_lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ resource "aws_cloudwatch_log_metric_filter" "redis_sync_error_logs" {
270270
resource "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"

0 commit comments

Comments
 (0)