-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathserverless.yml
More file actions
34 lines (27 loc) · 729 Bytes
/
serverless.yml
File metadata and controls
34 lines (27 loc) · 729 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
service: better-sqlite3-lambda-layer
frameworkVersion: ">=1.34.0 <2.0.0"
provider:
name: aws
runtime: nodejs12.x
memorySize: 128
logRetentionInDays: 14
package:
exclude:
- node_modules/**
- build/**
functions:
example:
handler: example/handler.hello
description: An example of how to use the better-sqlite3 Lambda layer
layers:
# - {Ref: BetterSqlite3LambdaLayer}
- arn:aws:lambda:us-east-1:284387765956:layer:BetterSqlite3:9
layers:
BetterSqlite3:
path: layer
retain: true
description: A Layer to provide fast SQLite support in node.js Lambda functions using better-sqlite3
compatibleRuntimes:
- nodejs12.x
allowedAccounts:
- '*'