A Leiningen template for AWS Lambda custom runtime with GraalVM compiled Clojure project.
Published in Clojars
Run:
lein new clojure-graalvm-aws-lambda your-lambda
This results in a project structure like this:
$ tree -a your-lambda
your-lambda
├── bootstrap
├── deps.edn
├── Dockerfile
├── .gitignore
├── .gitlab-ci.yml
├── lambda.yml
├── Makefile
├── README.md
└── src
└── lambda
└── core.clj
2 directories, 9 files
Then
cd your-lambda
Set these environment variables:
Run:
make deploy-lambda-via-container
Lambda is ready to be used. Go to your AWS Console to work with the new stack named lambda-custom-runtime-your-lambda
.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details
Copyright © 2019 TokenMill UAB.
Distributed under the The Apache License, Version 2.0.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close