Haskell runtime for AWS Lambda

Version on this page:1.0.10
Stackage Nightly 2019-06-17:1.0.10
Latest on Hackage:1.1.0

See all snapshots aws-lambda-haskell-runtime appears in

Apache-2.0 licensed by Nikita Tchayka

Module documentation for 1.0.10

This version can be pinned in stack with:aws-lambda-haskell-runtime-1.0.10@sha256:45c4a78d36c07fea120dda206165168fba209d5a939397f9872dccb0118faef3,2543

Haskell Runtime for AWS Lambda

Hackage Linter CircleCI

This package provides a way of running Haskell projects on AWS Lambda.

Sample lambda function

stack new my-haskell-lambda --resolver=lts-12.13 --omit-packages
cd my-haskell-lambda
stack docker pull

Then add

- .

- aws-lambda-haskell-runtime-1.0.9

to your stack.yaml

Then run


Now you should have a build/ file that you can upload to your lambda.

Lambda function configuration

When creating your lambda function you need to provide a layer with the Haskell runtime. We have deployed the layer to our AWS account, you can use it or deploy it to your own AWS account.

The ARN of the runtime layer is:

arn:aws:lambda:<YOUR REGION>:785355572843:layer:aws-haskell-runtime:2

Full user guide

Take a look at the Getting Started with the Haskell AWS Lambda Runtime guide.


Changelog for aws-lambda-haskell-runtime

Unreleased changes

comments powered byDisqus