Skip to content

Commit 22af466

Browse files
committed
small readme
1 parent 58814aa commit 22af466

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crates/embucket-lambda/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cd crates/embucket-lambda
2020
make deploy
2121

2222
# Deploy to a different function
23-
make deploy FUNCTION_NAME=my-other-function
23+
make deploy my-other-function
2424

2525
# Deploy without rebuilding
2626
make deploy-only
@@ -32,6 +32,9 @@ make verify
3232
make logs
3333
```
3434

35+
`make deploy` will build, deploy with .env vars and with the iam-role in the makefile, add logs group, create a url, add allow uri access policy. And volia - it works.
36+
P.S. Don't forget to change host url in the `snowcli` config.
37+
3538
The function name defaults to `embucket-lambda` but can be overridden:
3639
- Via Makefile variable: `make deploy FUNCTION_NAME=my-function`
3740
- Via environment variable: `export FUNCTION_NAME=my-function && make deploy`

0 commit comments

Comments
 (0)