@@ -9,6 +9,8 @@ Description: SAM Template for serverless-test-workshop
99Globals :
1010 Function :
1111 Timeout : 30
12+ Architectures :
13+ - x86_64
1214
1315Parameters :
1416 iECRStreamlitPort :
@@ -91,7 +93,7 @@ Resources:
9193 TableName : !Ref UnicornInventoryTable
9294 CodeUri : src/Checkout/
9395 Handler : app.lambda_handler
94- Runtime : python3.11
96+ Runtime : python3.12
9597 Environment :
9698 Variables :
9799 DYNAMODB_TABLE_NAME :
@@ -113,7 +115,7 @@ Resources:
113115 TableName : !Ref UnicornInventoryTable
114116 CodeUri : src/GetInventory/
115117 Handler : app.lambda_handler
116- Runtime : python3.11
118+ Runtime : python3.12
117119 Environment :
118120 Variables :
119121 DYNAMODB_TABLE_NAME :
@@ -144,7 +146,7 @@ Resources:
144146 TableName : !Ref UnicornInventoryTable
145147 CodeUri : src/GetLocations/
146148 Handler : app.lambda_handler
147- Runtime : python3.11
149+ Runtime : python3.12
148150 Environment :
149151 Variables :
150152 DYNAMODB_TABLE_NAME :
@@ -168,7 +170,7 @@ Resources:
168170 BucketName : !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
169171 CodeUri : src/GetSignedUrlForInventoryFilePost/
170172 Handler : app.lambda_handler
171- Runtime : python3.11
173+ Runtime : python3.12
172174 Environment :
173175 Variables :
174176 S3_BUCKET_NAME : !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
@@ -185,7 +187,7 @@ Resources:
185187 Tracing : Active
186188 CodeUri : src/FileValidator/
187189 Handler : app.lambda_handler
188- Runtime : python3.11
190+ Runtime : python3.12
189191 Policies :
190192 - AWSXrayWriteOnlyAccess
191193 - S3ReadPolicy :
@@ -197,7 +199,7 @@ Resources:
197199 Tracing : Active
198200 CodeUri : src/CreateLocations/
199201 Handler : app.lambda_handler
200- Runtime : python3.11
202+ Runtime : python3.12
201203 Environment :
202204 Variables :
203205 DYNAMODB_TABLE_NAME :
0 commit comments