Skip to content

Commit cf08bac

Browse files
author
Tom McCarthy
committed
chore: use powertools layer
1 parent 9bf68a1 commit cf08bac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backend/layers/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
requests==2.22.0
22
cognitojwt==1.1.0
3-
aws-lambda-powertools==1.0.0
43
boto3==1.10.34

backend/shoppingcart-service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Globals:
2525
Tracing: Active
2626
AutoPublishAlias: live
2727
Runtime: python3.8
28+
Layers:
29+
- !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPython:3
2830
Environment:
2931
Variables:
3032
TABLE_NAME: !Ref DynamoDBShoppingCartTable

0 commit comments

Comments
 (0)