mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
39 lines
992 B
YAML
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 |