diff --git a/workshops/serverless-testing-workshop/template.yaml b/workshops/serverless-testing-workshop/template.yaml index d97a6b0f..6f214e71 100644 --- a/workshops/serverless-testing-workshop/template.yaml +++ b/workshops/serverless-testing-workshop/template.yaml @@ -9,6 +9,8 @@ Description: SAM Template for serverless-test-workshop Globals: Function: Timeout: 30 + Architectures: + - x86_64 Parameters: iECRStreamlitPort: @@ -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: @@ -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: @@ -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: @@ -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}" @@ -185,7 +187,7 @@ Resources: Tracing: Active CodeUri: src/FileValidator/ Handler: app.lambda_handler - Runtime: python3.11 + Runtime: python3.12 Policies: - AWSXrayWriteOnlyAccess - S3ReadPolicy: @@ -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: