File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # ⚡ 0.3.2 (unreleased)
2+
3+ - ✨new support for invoking your lambdas locally.
4+
5+ This decreases the turn around time to validate a change before
6+ without having to deploy it first
7+
8+ ``` sh
9+ $ npx serverless invoke local -f foo -d ' {"yes":"we can"}'
10+ ```
11+
112# ⚡ 0.3.1
213
314- bump [ lambda-rust] ( https://hub.docker.com/r/softprops/lambda-rust/ ) docker version to 0.2.1-rust-1.33.0
Original file line number Diff line number Diff line change @@ -80,6 +80,29 @@ functions:
8080 method : GET
8181` ` `
8282
83+ ## 🤸 usage
84+
85+ Every [flow that serverless provides](https://serverless.com/framework/docs/providers/aws/guide/workflow/) should be work out of the box.
86+
87+ ### invoke your lambdas locally
88+
89+ ` ` ` sh
90+ $ npx serverless invoke local -f hello -d '{"hello":"world"}'
91+ ```
92+
93+ ### deploy your lambdas to the cloud
94+
95+ ``` sh
96+ $ npx serverless deploy
97+ ```
98+
99+ ### invoke your lambas in the cloud directly
100+
101+ ``` sh
102+ $ npx serverless invoke -f hello -d ' {"hello":"world"}'
103+ ```
104+
105+
83106
84107## 🏗️ serverless templates
85108
You can’t perform that action at this time.
0 commit comments