Open shmish111 opened 3 years ago
Thanks for reporting! It would be sure awesome to keep up with the new features, PR's are very welcome!
Lol, I appreciate your sentiment. I may get the chance to work on it, it depends on how desperate I get for working with ALB.
BTW, awesome job on this library, when used together with https://hackage.haskell.org/package/aws-lambda-haskell-runtime-wai it makes a really awesome setup where you can have a local dev server running warp and lambdas in production. If only lambdas had much bigger limits I could do so much more with this!
Just notifying you guys that I'm working on that. Should be shipped with v4.0.0 that has no TH.
Update: This is done in https://github.com/theam/aws-lambda-haskell-runtime/pull/97
AWS ALB has Lambda integration now however the events it sends are slightly different to the APIGW Lambda Proxy events and
UseWithAPIGateway
can't cope with these differences it seems. It would be great to have eitherUseWithALB
or even better something that allowed use with both. I couldn't find any official documentation with explicit differences however this blog post outlines them https://serverless-training.com/articles/api-gateway-vs-application-load-balancer-technical-details/#feature-differences-between-application-load-balancer-and-api-gateway