Created
June 12, 2018 19:56
-
-
Save shabazpatel/4edd6696b1992a3d4f8d860bacbdd5e8 to your computer and use it in GitHub Desktop.
Config file for serverless deployments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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