Fix lambda import (#605)

* Fix lambda import

* more updates

* more changes
This commit is contained in:
Seif Lotfy سيف لطفي
2017-03-24 18:44:38 +01:00
committed by Travis Reeder
parent cc4ff197e0
commit d8871d1562
6 changed files with 44 additions and 217 deletions

View File

@@ -2,12 +2,12 @@
This is the exact same function that is in the AWS Lambda tutorial.
Other than a different runtime, this is no different than any other node example.
Other than a different runtime, this is no different than any other node example.
To use the lambda-node runtime, use this `fn init` command:
To use the lambda-nodejs4.3 runtime, use this `fn init` command:
```sh
fn init --runtime lambda-node <DOCKER_HUB_USERNAME>/lambda-node
fn init --runtime lambda-nodejs4.3 <DOCKER_HUB_USERNAME>/lambda-node
fn build
cat payload.json | fn run
```