Haskell runtime for AWS Lambda https://github.com/theam/aws-lambda-haskell-runtime#readme
|Version on this page:||1.0.10|
|Stackage Nightly 2019-06-17:||1.0.10|
|Latest on Hackage:||1.1.0|
Haskell Runtime for AWS Lambda
This package provides a way of running Haskell projects on AWS Lambda.
Sample lambda function
stack new my-haskell-lambda https://github.com/theam/aws-lambda-haskell-runtime/raw/master/stack-template.hsfiles --resolver=lts-12.13 --omit-packages cd my-haskell-lambda stack docker pull
packages: - . extra-deps: - aws-lambda-haskell-runtime-1.0.9
Now you should have a
build/function.zip 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:
Full user guide
Take a look at the Getting Started with the Haskell AWS Lambda Runtime guide.