Loading alarms.tf +8 −0 Changes for alarms.tf: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ resource "aws_cloudwatch_metric_alarm" "invocations" { dimensions = { FunctionName = local.function_names[count.index] } depends_on = [ aws_cloudwatch_event_target.schedule, ] } resource "aws_cloudwatch_metric_alarm" "errors" { Loading @@ -38,4 +42,8 @@ resource "aws_cloudwatch_metric_alarm" "errors" { dimensions = { FunctionName = local.function_names[count.index] } depends_on = [ aws_cloudwatch_event_target.schedule, ] } Loading
alarms.tf +8 −0 Changes for alarms.tf: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ resource "aws_cloudwatch_metric_alarm" "invocations" { dimensions = { FunctionName = local.function_names[count.index] } depends_on = [ aws_cloudwatch_event_target.schedule, ] } resource "aws_cloudwatch_metric_alarm" "errors" { Loading @@ -38,4 +42,8 @@ resource "aws_cloudwatch_metric_alarm" "errors" { dimensions = { FunctionName = local.function_names[count.index] } depends_on = [ aws_cloudwatch_event_target.schedule, ] }