guyklainer d4ed0f70ab Add support in Spotinst Function.
added 2 new templates - spotinst-nodejs, spotinst-python
2017-08-20 09:49:18 +03:00

39 lines
992 B
YAML

# Welcome to Serverless!
#
# This file is the main config file for your service.
# It's very minimal at this point and uses default values.
# You can always add more config options for more control.
# We've included some commented out config examples here.
# Just uncomment any of them to get that config option.
#
# For full config options, check the docs:
# docs.serverless.com
#
# Happy Coding!
service: spotinst-nodejs # NOTE: update this with your service name
provider:
name: spotinst
runtime: nodejs4.8
#environment: <env-XXXX> # NOTE: Remember to add the environment ID
#account: <act-XXXX> # NOTE: Remember to add the account ID
# you can add packaging information here
#package:
# include:
# - include-me.js
# - include-me-dir/**
# exclude:
# - exclude-me.js
# - exclude-me-dir/**
functions:
hello:
handler: main
# extend the framework using plugins listed here:
# https://github.com/serverless/plugins
plugins:
- serverless-spotinst-functions