Skip to content
This repository was archived by the owner on Oct 22, 2022. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

example

Deploying

Run lein cljs-lambda default-iam-role if you don't have yet have suitable execution role to place in your project file. This command will create an IAM role under your default (or specified) AWS CLI profile, and modify your project file to specify it as the execution default.

Otherwise, add an IAM role ARN under the function's :role key in the :functions vector of your profile file, or in :cljs-lambda -> :defaults -> :role.

Then:

$ lein cljs-lambda deploy
$ lein cljs-lambda invoke work-magic ...

Testing

lein doo node example-test

Doo is provided to avoid including code to set the process exit code after a test run.