-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
37 lines (37 loc) · 854 Bytes
/
Copy pathserverless.yml
File metadata and controls
37 lines (37 loc) · 854 Bytes
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
service: menu-lambda
provider:
name: aws
runtime: nodejs16.x
memorySize: 128
stage: production
region: eu-west-1
package:
exclude:
- "*.spec.js"
- "fixtures/**"
- "**/__snapshots__/**"
- "test-utils/**"
- "jest.config.js"
- "README.md"
functions:
send:
handler: handler.run
events:
- schedule:
name: presend-morning-test
enabled: true
rate: cron(30 6 ? * 2-6 *)
input:
slackUrl: ${env:SLACK_URL_PRESEND}
- schedule:
name: presend-morning-test-2
enabled: true
rate: cron(15 8 ? * 2-6 *)
input:
slackUrl: ${env:SLACK_URL_PRESEND}
- schedule:
name: send-morning
enabled: true
rate: cron(30 8 ? * 2-6 *)
input:
slackUrl: ${env:SLACK_URL}