mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
25 lines
413 B
YAML
25 lines
413 B
YAML
service: service
|
|
|
|
configValidationMode: error
|
|
frameworkVersion: '*'
|
|
|
|
projectDir: ../
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs12.x
|
|
lambdaHashingVersion: 20201221
|
|
|
|
custom:
|
|
env: ${env:ENV_SOURCE_TEST, null}
|
|
file: ${file(../file.json)}
|
|
opt: ${opt:stage, null}
|
|
self: ${self:custom.file.foo}
|
|
strToBool: ${strToBool('false')}
|
|
|
|
functions:
|
|
foo:
|
|
handler: index.handler
|
|
other:
|
|
handler: index.handler
|