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

seprich/haskell-demo

Repository files navigation

furry-haskell

Haskell lambda project

Build

$ ./buildBuildBox
$ ./runBuildBox
workdir]$ stack --local-bin-path="./out" build --copy-bins
workdir]$ mv out/furry-haskell-exe out/bootstrap
workdir]$ exit
$ cd out/ && zip furry.zip bootstrap

Deploy

$ cd terraform
$ terraform init
$ terraform apply

Test

$ aws lambda invoke --region=eu-north-1 --function-name=FurryHaskell --payload '{"test": "this", "numbers": [1, 2, 3, 4, 5]}' output.txt

Output contains the echoed payload

About

AWS Lambda with Haskell - demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published