diff --git a/lib/plugins/create/templates/spotinst-nodejs/serverless.yml b/lib/plugins/create/templates/spotinst-nodejs/serverless.yml index af88df7a1..280de8e23 100644 --- a/lib/plugins/create/templates/spotinst-nodejs/serverless.yml +++ b/lib/plugins/create/templates/spotinst-nodejs/serverless.yml @@ -19,21 +19,14 @@ provider: #environment: # NOTE: Remember to add the environment ID #account: # 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 + handler: handler.main + memory: 128 + timeout: 30 # extend the framework using plugins listed here: # https://github.com/serverless/plugins plugins: - - serverless-spotinst-functions \ No newline at end of file + - serverless-spotinst-functions diff --git a/lib/plugins/create/templates/spotinst-python/serverless.yml b/lib/plugins/create/templates/spotinst-python/serverless.yml index af88df7a1..c47d11ce0 100644 --- a/lib/plugins/create/templates/spotinst-python/serverless.yml +++ b/lib/plugins/create/templates/spotinst-python/serverless.yml @@ -11,29 +11,22 @@ # # Happy Coding! -service: spotinst-nodejs # NOTE: update this with your service name +service: spotinst-python # NOTE: update this with your service name provider: name: spotinst - runtime: nodejs4.8 + runtime: python2.7 #environment: # NOTE: Remember to add the environment ID #account: # 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 + handler: handler.main + memory: 128 + timeout: 30 # extend the framework using plugins listed here: # https://github.com/serverless/plugins plugins: - - serverless-spotinst-functions \ No newline at end of file + - serverless-spotinst-functions