Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 681 Bytes

File metadata and controls

39 lines (28 loc) · 681 Bytes

Serverless commands (aws)

Create new serverless project

sls create -t aws-nodejs -n project_name

Deploy function on aws

sls deploy

invoke function

remote => sls invoke -f function_name -s stage_name -d data_to_send
local => sls invoke local -f function_name -s stage_name -d data_to_send

plugin for execute serverless locally

npm install --save serverless-offline
sls offline

remove all function in aws

sls remove

<<<<<<< HEAD

a6a27a495c42d6f0f896d337dc91c057da33d55c