Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions workshops/serverless-testing-workshop/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Description: SAM Template for serverless-test-workshop
Globals:
Function:
Timeout: 30
Architectures:
- x86_64

Parameters:
iECRStreamlitPort:
Expand Down Expand Up @@ -91,7 +93,7 @@ Resources:
TableName: !Ref UnicornInventoryTable
CodeUri: src/Checkout/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Environment:
Variables:
DYNAMODB_TABLE_NAME:
Expand All @@ -113,7 +115,7 @@ Resources:
TableName: !Ref UnicornInventoryTable
CodeUri: src/GetInventory/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Environment:
Variables:
DYNAMODB_TABLE_NAME:
Expand Down Expand Up @@ -144,7 +146,7 @@ Resources:
TableName: !Ref UnicornInventoryTable
CodeUri: src/GetLocations/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Environment:
Variables:
DYNAMODB_TABLE_NAME:
Expand All @@ -168,7 +170,7 @@ Resources:
BucketName: !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
CodeUri: src/GetSignedUrlForInventoryFilePost/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Environment:
Variables:
S3_BUCKET_NAME: !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
Expand All @@ -185,7 +187,7 @@ Resources:
Tracing: Active
CodeUri: src/FileValidator/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Policies:
- AWSXrayWriteOnlyAccess
- S3ReadPolicy:
Expand All @@ -197,7 +199,7 @@ Resources:
Tracing: Active
CodeUri: src/CreateLocations/
Handler: app.lambda_handler
Runtime: python3.11
Runtime: python3.12
Environment:
Variables:
DYNAMODB_TABLE_NAME:
Expand Down
Loading