Skip to content

Commit 176f3dd

Browse files
committed
Move to Python 3.12
1 parent e2f06b8 commit 176f3dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

workshops/serverless-testing-workshop/template.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Globals:
1010
Function:
1111
Timeout: 30
1212
Architectures:
13-
- arm64
13+
- x86_64
1414

1515
Parameters:
1616
iECRStreamlitPort:
@@ -93,7 +93,7 @@ Resources:
9393
TableName: !Ref UnicornInventoryTable
9494
CodeUri: src/Checkout/
9595
Handler: app.lambda_handler
96-
Runtime: python3.11
96+
Runtime: python3.12
9797
Environment:
9898
Variables:
9999
DYNAMODB_TABLE_NAME:
@@ -115,7 +115,7 @@ Resources:
115115
TableName: !Ref UnicornInventoryTable
116116
CodeUri: src/GetInventory/
117117
Handler: app.lambda_handler
118-
Runtime: python3.11
118+
Runtime: python3.12
119119
Environment:
120120
Variables:
121121
DYNAMODB_TABLE_NAME:
@@ -146,7 +146,7 @@ Resources:
146146
TableName: !Ref UnicornInventoryTable
147147
CodeUri: src/GetLocations/
148148
Handler: app.lambda_handler
149-
Runtime: python3.11
149+
Runtime: python3.12
150150
Environment:
151151
Variables:
152152
DYNAMODB_TABLE_NAME:
@@ -170,7 +170,7 @@ Resources:
170170
BucketName: !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
171171
CodeUri: src/GetSignedUrlForInventoryFilePost/
172172
Handler: app.lambda_handler
173-
Runtime: python3.11
173+
Runtime: python3.12
174174
Environment:
175175
Variables:
176176
S3_BUCKET_NAME: !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
@@ -187,7 +187,7 @@ Resources:
187187
Tracing: Active
188188
CodeUri: src/FileValidator/
189189
Handler: app.lambda_handler
190-
Runtime: python3.11
190+
Runtime: python3.12
191191
Policies:
192192
- AWSXrayWriteOnlyAccess
193193
- S3ReadPolicy:
@@ -199,7 +199,7 @@ Resources:
199199
Tracing: Active
200200
CodeUri: src/CreateLocations/
201201
Handler: app.lambda_handler
202-
Runtime: python3.11
202+
Runtime: python3.12
203203
Environment:
204204
Variables:
205205
DYNAMODB_TABLE_NAME:

0 commit comments

Comments
 (0)