Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@jayair @fwang
31 lines (26 sloc) 671 Bytes
# NOTE: update this with your service name
service: serverless-nodejs-starter
# Create an optimized package for our functions
package:
individually: true
plugins:
- serverless-bundle # Package our functions with Webpack
- serverless-offline
provider:
name: aws
runtime: nodejs8.10
stage: dev
region: us-east-1
# To load environment variables externally
# rename env.example to env.yml and uncomment
# the following line. Also, make sure to not
# commit your env.yml.
#
#environment: ${file(env.yml):${self:provider.stage}}
functions:
hello:
handler: handler.hello
events:
- http:
path: hello
method: get
You can’t perform that action at this time.