Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.