Michael Hart
Michael Hart
The error says: ``` fatal error: snappy-c.h: No such file or directory #include ``` That's because the instructions say you need to install the `snappy` library first: https://github.com/andrix/python-snappy#dependencies
It's an advanced setting that affects the replacement of `\r` and `\n` in the output – due to Lambda's mangling of log output
Not with a flag. Those messages are written to stderr, so you could redirect the output of stderr (ie `2>/dev/null`)
Errors will still be returned to your Lambda via the API, which I assume is how you're invoking your functions?
I believe https://github.com/dherault/serverless-offline supports this now
Hey Matthieu, glad they've been useful to you for bref! I remember when I got PHP running many moons ago on Lambda (running [Laravel's test suite](https://lambci-public-buildresults-e3xwlufrwb3i.s3.amazonaws.com/gh/mhart/test-ci-project/builds/140/3e9954f8a74dda5f4050b65bcf56cde8.html) no less 😆 )...
Yeah, that's exactly what we do – with Postgres, Redis and Elasticsearch. I'll be talking more about this (running GitHub Actions on Lambda specifically) for reInvent 👍
Yeah, multiple endpoints is the supported method. Not sure I'll ever add support for multiple functions per container – it would mess with a lot of the semantics and fidelity...
You *could* use a reverse proxy that sits in front of the containers and does the routing for you – then you'd only need a single endpoint from your app...
Don't start with `'{\"some\": \"event\"}'` (just leave it out) – you're running in stay open mode, so you'll be passing in a new event each time via the API