Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Leiningen template for AWS Lambda custom runtime with GraalVM native image compiled Clojure projects.

License

Notifications You must be signed in to change notification settings

tokenmill/clojure-graalvm-aws-lambda-template

Repository files navigation

clojure-graalvm-aws-lambda-template

Clojars Project pipeline status

Leiningen template for AWS Lambda custom runtime with GraalVM native-image compiled Clojure projects.

Published in Clojars

Usage

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:

  • MY_AWS_DEFAULT_REGION
  • MY_AWS_ACCESS_KEY_ID
  • MY_AWS_SECRET_ACCESS_KEY
  • MY_S3_BUCKET
  • MY_S3_FOLDER

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.

License

Copyright © 2019 TokenMill UAB.

Distributed under the The Apache License, Version 2.0.

About

Leiningen template for AWS Lambda custom runtime with GraalVM native image compiled Clojure projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.