33 lines
865 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-python # NOTE: update this with your service name
provider:
name: spotinst
runtime: python2.7
#environment: <env-XXXX> # NOTE: Remember to add the environment ID
#account: <act-XXXX> # NOTE: Remember to add the account ID
functions:
hello:
handler: handler.main
memory: 128
timeout: 30
# extend the framework using plugins listed here:
# https://github.com/serverless/plugins
plugins:
- serverless-spotinst-functions