File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ service : vizion-api-aws
2
+
3
+ provider :
4
+ name : aws
5
+ runtime : python3.7
6
+ stage : ${env:ENVIRONMENT}
7
+ region : ${env:AWS_REGION}
8
+
9
+ plugins :
10
+ - serverless-wsgi
11
+ - serverless-python-requirements
12
+
13
+ functions :
14
+ lambda :
15
+ role : ${env:AWS_LAMBDA_IAM_ROLE_ARN}
16
+ environment :
17
+ ENVIRONMENT : ${env:ENVIRONMENT}
18
+ VIZION_API_HOST : ${env:VIZION_API_HOST}
19
+ VIZION_API_KEY : ${env:VIZION_API_KEY}
20
+ VIZION_API_DATA_S3_BUCKET : ${env:VIZION_API_DATA_S3_BUCKET}
21
+ PAPERTRAIL_HOST : ${env:PAPERTRAIL_HOST}
22
+ PAPERTRAIL_PORT : ${env:PAPERTRAIL_PORT}
23
+ SLACK_WEBHOOK_URL : ${env:SLACK_WEBHOOK_URL}
24
+ SLACK_INFO_CHANNEL : ${env:SLACK_INFO_CHANNEL}
25
+ SLACK_ERROR_CHANNEL : ${env:SLACK_ERROR_CHANNEL}
26
+ handler : wsgi_handler.handler
27
+ events :
28
+ - http : ANY /
29
+ - http : ANY {proxy+}
30
+
31
+ custom :
32
+ wsgi :
33
+ app : api.app
34
+ packRequirements : false
35
+ pythonRequirements :
36
+ dockerizePip : non-linux
You can’t perform that action at this time.
0 commit comments