forked from EliuX/serverless-migrate-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
30 lines (27 loc) · 709 Bytes
/
serverless.yml
File metadata and controls
30 lines (27 loc) · 709 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
service: sls-migrate-plugin-example
provider:
name: aws
runtime: nodejs10.x
environment:
DATABASE_NAME: content
ANOTHER_ENV: original content
BOOLEAN_ENV: true
custom:
migrate:
stateFile: .migrate2
store: ./sample-store
lastRunIndicator: <
noDescriptionText: '?'
ignoreMissing: true
dateFormat: "yyyy-MM-dd hh:mm:ssZ"
templateFile: "my-project-template.js"
environment:
ANOTHER_ENV: overrriden value
COMPLEX_VAR: ${opt:pwd, self:provider.env.ANOTHER_ENV, 'unexistent'}
BOOLEAN_ENV: false
# fileExtension: .ss # Uncomment to check it will not work
functions:
hello:
handler: handler.hello
plugins:
- serverless-migrate-plugin