Skip to content

Commit 4c266ca

Browse files
committed
changelog and readme
1 parent 002e142 commit 4c266ca

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
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

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)