sheetaki/serverless.yml

28 lines
575 B
YAML
Raw Normal View History

2021-05-03 16:06:05 +00:00
service: localstack-lambda
# plugins:
# - serverless-localstack
# custom:
# localstack:
# debug: true
# stages:
# - local
# - dev
# host: http://localhost # optional - LocalStack host to connect to
# edgePort: 4566 # optional - LocalStack edge port to connect to
# endpointFile: localstack_endpoints.json
frameworkVersion: '2'
provider:
name: aws
runtime: nodejs12.x
stage: dev
region: us-east-1
memorySize: 128
functions:
app:
handler: api/server.handler
events:
- http: ANY /
- http: 'ANY {proxy+}'