Created
April 28, 2020 17:38
-
-
Save mikebroberts/bd483a5079c90e55ed78e1ffacf7fe32 to your computer and use it in GitHub Desktop.
Thundra online debugging SAM template updates
This file contains hidden or 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
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