Skip to content

Commit a28718c

Browse files
committed
give 2gb memory to lambda
1 parent 6b1e61d commit a28718c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudformation/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Resources:
257257
Description: !Sub "${ApplicationFriendlyName} API Lambda"
258258
FunctionName: !Sub ${ApplicationPrefix}-lambda
259259
Handler: lambda.handler
260-
MemorySize: 768
260+
MemorySize: 2048
261261
Role: !GetAtt AppSecurityRoles.Outputs.MainFunctionRoleArn
262262
Timeout: 60
263263
Environment:
@@ -299,7 +299,7 @@ Resources:
299299
Description: !Sub "${ApplicationFriendlyName} SQS Lambda"
300300
FunctionName: !Sub ${ApplicationPrefix}-sqs-lambda
301301
Handler: index.handler
302-
MemorySize: 512
302+
MemorySize: 2048
303303
Role:
304304
Fn::GetAtt: AppSecurityRoles.Outputs.SqsFunctionRoleArn
305305
Timeout: !Ref SqsLambdaTimeout

0 commit comments

Comments
 (0)