11$ sls deploy
22... snip ...
33Service Information
44service: serverless-flask
55stage: dev
66region: us-east-1
77stack: serverless-flask-dev
88api keys:
99 None
1010endpoints:
1111 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev
1212 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev/{proxy+}
1313functions:
1414 app: serverless-flask-dev-app
11# serverless.yml
22
33service: serverless-flask
44
55plugins:
66 - serverless-python-requirements
77 - serverless-wsgi
88
99custom:
1010 wsgi:
1111 app: app.app
1212 packRequirements: false
1313 pythonRequirements:
1414 dockerizePip: non-linux
1515
1616provider:
1717 name: aws
1818 runtime: python3.6
1919 stage: dev
2020 region: us-east-1
2121
2222functions:
2323 app:
2424 handler: wsgi.handler
2525 events:
2626 - http: ANY /
2727 - http: 'ANY {proxy+}'