Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 793 Bytes

File metadata and controls

40 lines (26 loc) · 793 Bytes

Custom Lambda Invocation

Build

Build the sample waSCC actor.

$ cd actor
$ make release
$ cd ..

Deploy

This examples uses the wascc-slim Lambda layer. See layers for instructions on building the waSCC runtime Lambda layers.

$ terraform init

Set AWS environment variables for your authenticated session.

$ make

Test

$ aws lambda invoke --function-name waSCC-example-custom --payload '{"input": "Hello world"}' output.json

output.json should contain the input text converted to uppercase.

Known Issues

It works on my machine!

The public key of the actor in manifest.yaml is the value I use and will have to be changed when you generate your own keys.