Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebroberts/bd483a5079c90e55ed78e1ffacf7fe32 to your computer and use it in GitHub Desktop.
Save mikebroberts/bd483a5079c90e55ed78e1ffacf7fe32 to your computer and use it in GitHub Desktop.
Thundra online debugging SAM template updates
diff --git a/chapter5-api/template.yaml b/chapter5-api/template.yaml
index 7c6e0a5..b47084a 100755
--- a/chapter5-api/template.yaml
+++ b/chapter5-api/template.yaml
@@ -41,6 +41,13 @@ Resources:
Properties:
CodeUri: target/lambda.zip
Handler: book.api.WeatherQueryLambda::handler
+ Timeout: 300
+ Layers:
+ - !Sub arn:aws:lambda:${AWS::Region}:269863060030:layer:thundra-lambda-java-layer:42
+ Runtime: provided
+ Environment:
+ Variables:
+ thundra_agent_lambda_debugger_auth_token: "****************"
Policies:
- DynamoDBReadPolicy:
TableName: !Ref LocationsTable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment