-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless.yml
57 lines (53 loc) · 1.24 KB
/
serverless.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
service: integrotion
provider:
name: azure
location: West Europe
runtime: nodejs12
versionFunctions: false
prefix: integrotion
plugins:
- serverless-dotenv-plugin
- serverless-plugin-tree-shake
- serverless-azure-functions
package:
excludeDevDependencies: false
include:
- '**/function.json'
- 'host.json'
functions:
- todoistWebhook:
handler: dist/endpoints/todoistWebhook
events:
- http: true
route: todoistWebhook
authLevel: anonymous
- todoistQueue:
handler: dist/endpoints/todoistQueue
events:
- queue: todoist
name: itemAdded
connection: AzureWebJobsStorage
- setBotWebhook:
handler: dist/endpoints/setBotWebhook
events:
- http: true
route: setBotWebhook
authLevel: anonymous
- botWebhook:
handler: dist/endpoints/botWebhook
events:
- http: true
route: botWebhook
authLevel: anonymous
- ping:
handler: dist/endpoints/ping
events:
- timer:
name: timer
schedule: '0 */15 * * * *'
- morningJob:
handler: dist/endpoints/morningJob
events:
- timer:
name: timer
schedule: '0 0 8 * * *'