Using DuckDB in AWS Lambda

This is going to be short but I wanted to get this down because I did this once before and everything worked out great but then when I tried it again with another lambda project, I had a lot of problems getting credentials setup. First of all, DO NOT go hard coding anything in the lambda. Definitely, DO NOT hard code credential key and secret but do not hard code the region either, unless there is a very specific need for this like you’re running the lambda in one region but say accessing an s3 bucket that is setup in another region. ...

February 5, 2026 · 2 min