Skip to content

Commit

Permalink
fixe(doc): omit deployement of Lambda with 'online' param
Browse files Browse the repository at this point in the history
  • Loading branch information
Inqnuam committed Mar 3, 2023
1 parent d27c77b commit 51128ae
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,18 @@ client

### Environment variable

Lambdas are executed in worker threads. Only variables declared in your `serverless.yml` are injected into `process.env` except `IS_LOCAL`, `LOCAL_PORT` and `NODE_ENV`
Lambdas are executed in worker threads. Only variables declared in your `serverless.yml` are injected into `process.env` except `IS_LOCAL`, `LOCAL_PORT` and `NODE_ENV`.

### Disable functions

Adding the param `online: false` will omit the deployement of your Lambda.

```yaml
functions:
myAwsomeLambda:
handler: src/handlers/awsomeLambda.default
online: false
```

---

Expand Down

0 comments on commit 51128ae

Please sign in to comment.