Lambda function has no CloudWatch alarm on Errors metric
What it checks
Lambda: no declared CloudWatch alarm on AWS/Lambda Errors is proven to monitor this function's FunctionName.
Where it applies
Terraform: aws_lambda_function
CloudFormation: AWS::Lambda::Function
How to fix it
- Add an aws_cloudwatch_metric_alarm: namespace=AWS/Lambda, metric_name=Errors, dimensions={FunctionName=<this>}, threshold=1, evaluation_periods=2, statistic=Sum, alarm_actions=[<sns topic that pages>].
Frameworks
- AWS Well-Architected OPS.8
- AWS Well-Architected REL.6
These mappings are advisory, not an attestation of compliance.