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 @@ -87,7 +87,7 @@ Resources:
8787 GetMyPrescriptionsErrorsLogsMetricFilter :
8888 Type : AWS::Logs::MetricFilter
8989 Properties :
90- FilterName : GetMyPrescriptionsErrors
90+ FilterName : !Sub ${StackName}_GetMyPrescriptionsErrors
9191 FilterPattern : !Sub '{ ($.level = "ERROR") && ($.function_name = "${GetMyPrescriptionsFunctionName}") && ($.message != %error in request to serviceSearch%) }'
9292 LogGroupName :
9393 Fn::ImportValue : !Sub ${StackName}:functions:${GetMyPrescriptionsFunctionName}:LambdaLogGroupName
@@ -128,7 +128,7 @@ Resources:
128128 EnrichPrescriptionsErrorsLogsMetricFilter :
129129 Type : AWS::Logs::MetricFilter
130130 Properties :
131- FilterName : EnrichPrescriptionsErrors
131+ FilterName : !Sub ${StackName}_EnrichPrescriptionsErrors
132132 FilterPattern : ERROR
133133 LogGroupName :
134134 Fn::ImportValue : !Sub ${StackName}:functions:${EnrichPrescriptionsFunctionName}:LambdaLogGroupName
You can’t perform that action at this time.
0 commit comments