X-Ray tracing enables end-to-end debugging and analysis of the function.
Impact
Without full tracing enabled it is difficult to trace the flow of logs
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Enable tracing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---AWSTemplateFormatVersion:"2010-09-09"Description:A sample templateAWSTemplateFormatVersion:2010-09-09Description:Good Example of SAM FunctionResources:GoodFunction:Type:AWS::Serverless::FunctionProperties:PackageType:ImageImageUri:account-id.dkr.ecr.region.amazonaws.com/ecr-repo-name:image-nameImageConfig:Command:- "app.lambda_handler"EntryPoint:- "entrypoint1"WorkingDirectory:"workDir"Tracing:Active