Hayden King

I build things on the web by day and take notes in church on Sunday.

Python


Using DuckDB in AWS Lambda

2026-02-05 2 min read

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.

Continue reading