@@ -9,6 +9,8 @@ Description: SAM Template for serverless-test-workshop
9
9
Globals :
10
10
Function :
11
11
Timeout : 30
12
+ Architectures :
13
+ - x86_64
12
14
13
15
Parameters :
14
16
iECRStreamlitPort :
@@ -91,7 +93,7 @@ Resources:
91
93
TableName : !Ref UnicornInventoryTable
92
94
CodeUri : src/Checkout/
93
95
Handler : app.lambda_handler
94
- Runtime : python3.11
96
+ Runtime : python3.12
95
97
Environment :
96
98
Variables :
97
99
DYNAMODB_TABLE_NAME :
@@ -113,7 +115,7 @@ Resources:
113
115
TableName : !Ref UnicornInventoryTable
114
116
CodeUri : src/GetInventory/
115
117
Handler : app.lambda_handler
116
- Runtime : python3.11
118
+ Runtime : python3.12
117
119
Environment :
118
120
Variables :
119
121
DYNAMODB_TABLE_NAME :
@@ -144,7 +146,7 @@ Resources:
144
146
TableName : !Ref UnicornInventoryTable
145
147
CodeUri : src/GetLocations/
146
148
Handler : app.lambda_handler
147
- Runtime : python3.11
149
+ Runtime : python3.12
148
150
Environment :
149
151
Variables :
150
152
DYNAMODB_TABLE_NAME :
@@ -168,7 +170,7 @@ Resources:
168
170
BucketName : !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
169
171
CodeUri : src/GetSignedUrlForInventoryFilePost/
170
172
Handler : app.lambda_handler
171
- Runtime : python3.11
173
+ Runtime : python3.12
172
174
Environment :
173
175
Variables :
174
176
S3_BUCKET_NAME : !Sub "unicorn-inv-${AWS::StackName}-${AWS::AccountId}"
@@ -185,7 +187,7 @@ Resources:
185
187
Tracing : Active
186
188
CodeUri : src/FileValidator/
187
189
Handler : app.lambda_handler
188
- Runtime : python3.11
190
+ Runtime : python3.12
189
191
Policies :
190
192
- AWSXrayWriteOnlyAccess
191
193
- S3ReadPolicy :
@@ -197,7 +199,7 @@ Resources:
197
199
Tracing : Active
198
200
CodeUri : src/CreateLocations/
199
201
Handler : app.lambda_handler
200
- Runtime : python3.11
202
+ Runtime : python3.12
201
203
Environment :
202
204
Variables :
203
205
DYNAMODB_TABLE_NAME :
0 commit comments