forked from amirams/spotinst-functions-examples
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathserverless.yml
More file actions
41 lines (35 loc) · 665 Bytes
/
serverless.yml
File metadata and controls
41 lines (35 loc) · 665 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
38
39
40
41
service: MapReduce
provider:
name: spotinst
spotinst:
environment: {Your Environment Variable}
functions:
Generator:
runtime: nodejs8.3
handler: Generator.main
memory: 512
timeout: 150
access: public
environmentVariables: {
size: 100
}
Splitter:
runtime: nodejs8.3
handler: Splitter.main
memory: 512
timeout: 150
access: public
Mapper:
runtime: nodejs8.3
handler: Mapper.main
memory: 512
timeout: 150
access: public
Reducer:
runtime: nodejs8.3
handler: Reducer.main
memory: 512
timeout: 150
access: public
plugins:
- serverless-spotinst-functions