File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 99 "author" : " " ,
1010 "license" : " ISC" ,
1111 "dependencies" : {
12- "serverless" : " ^2.64.1 " ,
13- "serverless-python-requirements" : " ^5.1.1 " ,
14- "serverless-wsgi" : " ^2 .0.2 "
12+ "serverless" : " ^2.70.0 " ,
13+ "serverless-python-requirements" : " ^5.2.2 " ,
14+ "serverless-wsgi" : " ^3 .0.0 "
1515 }
1616}
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ provider:
1010 DYNAMODB_TABLE_NAME : ${self:service}-${sls:stage}
1111 httpApi :
1212 cors : true
13- # iamRoleStatements:
14- # - Effect: "Allow"
15- # Action:
16- # - dynamodb:*
17- # Resource:
18- # Fn::GetAtt:
19- # - oneTable
20- # - Arn
13+ iamRoleStatements :
14+ - Effect : " Allow"
15+ Action :
16+ - dynamodb:*
17+ Resource :
18+ Fn::GetAtt :
19+ - oneTable
20+ - Arn
2121 # - Effect: "Allow"
2222 # Action:
2323 # - s3:*
@@ -30,6 +30,8 @@ provider:
3030
3131functions :
3232 api :
33+ timeout : 300
34+ memorySize : 128
3335 handler : wsgi_handler.handler
3436 events :
3537 - httpApi :
@@ -85,6 +87,7 @@ resources:
8587 ProvisionedThroughput :
8688 ReadCapacityUnits : 1
8789 WriteCapacityUnits : 1
90+ BillingMode : PAY_PER_REQUEST
8891# s3bucket:
8992# Type: AWS::S3::Bucket
9093# Properties:
You can’t perform that action at this time.
0 commit comments