Fixed up lambda-node to work with multi-stage changes.

This commit is contained in:
Travis Reeder
2017-06-19 11:28:14 -07:00
parent 345da3fcb3
commit c6a315ae7d
15 changed files with 386 additions and 30 deletions

View File

@@ -6,10 +6,10 @@ anywhere. You should be able to take your code and run them without any changes.
## Creating Lambda Functions
Creating Lambda functions is not much different than using regular functions, just use
the `lambda-node` runtime.
the `lambda-node-4` runtime.
```sh
fn init --runtime lambda-node <DOCKER_HUB_USERNAME>/lambda-node
fn init --runtime lambda-node-4 <DOCKER_HUB_USERNAME>/lambda-node
```
Be sure the filename for your main handler is `func.js`.