-
Notifications
You must be signed in to change notification settings - Fork 2
/
serverless.yml
63 lines (59 loc) · 1.2 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
58
59
60
61
62
63
service: browse-api-serverless
frameworkVersion: '3'
provider:
name: aws
region: us-west-1
package:
individually: true
layers:
puppeteer:
package:
artifact: artifacts/puppeteer.zip
python:
package:
artifact: artifacts/python.zip
functions:
browse-text:
runtime: nodejs18.x
handler: browse-text.handler
memorySize: 4096
timeout: 60
ephemeralStorageSize: 10240
url: true
layers:
- !Ref PuppeteerLambdaLayer
package:
artifact: artifacts/browse-text.zip
github:
runtime: python3.9
handler: github.handler
memorySize: 4096
timeout: 60
ephemeralStorageSize: 10240
url: true
layers:
- !Ref PythonLambdaLayer
package:
artifact: artifacts/github.zip
pdf:
runtime: python3.9
handler: pdf.handler
memorySize: 4096
timeout: 60
ephemeralStorageSize: 10240
url: true
layers:
- !Ref PythonLambdaLayer
package:
artifact: artifacts/pdf.zip
youtube:
runtime: python3.9
handler: youtube.handler
memorySize: 4096
timeout: 60
ephemeralStorageSize: 10240
url: true
layers:
- !Ref PythonLambdaLayer
package:
artifact: artifacts/youtube.zip