Last active
August 17, 2020 17:32
-
-
Save dym-ok/98877630a06846d1f32541497eafc52d to your computer and use it in GitHub Desktop.
Enable X-Ray tracing with AWS SAM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Globals: | |
Function: | |
Tracing: Active | |
Api: | |
TracingEnabled: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RoleLambdaExecutionPolicy: | |
Type: "AWS::IAM::Role" | |
Properties: | |
Policies: | |
Statement: | |
- Action: | |
- "xray:PutTraceSegments" | |
- "xray:PutTelemetryRecords" | |
Effect: Allow | |
Resource: "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment