Files
pygeoapi/aws-lambda/serverless.yml
T
2019-05-16 16:54:27 -04:00

28 lines
475 B
YAML

service: pygeoapi
provider:
name: aws
runtime: python3.6
# you can define service wide environment variables here
# environment:
# variable1: value1
plugins:
- serverless-python-requirements
- serverless-wsgi
custom:
wsgi:
app: pygeoapi.flask_app.APP
packRequirements: true
functions:
app:
handler: wsgi_handler.handler
events:
- http: ANY /
- http: 'ANY {proxy+}'
environment:
PYGEOAPI_CONFIG: pygeoapi-config.yml