Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Config file for serverless deployments
service: datmo-sklearn-iris
frameworkVersion: ">=1.2.0 <2.0.0"
provider:
name: aws
runtime: python2.7
memorySize: 256
timeout: 15
stage: staging
region: us-west-2
functions:
main:
handler: service.handler
events:
- http:
method: post
path: ${self:service}
cors: true
environment:
STAGE: ${self:provider.stage}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.