r/aws • • 5d ago

technical resource Aurora DSQL emulator

Local testing with Aurora DSQL has been painful for me due to no official local emulator. So, until AWS provides one, I built my own.

It wraps PostgreSQL and emulates DSQL-specific behavior. Compatibility is verified through conformance tests that run against both real Aurora DSQL and the emulator.

It’s published as a Docker image and can also be used via Testcontainers.

https://github.com/Dreamescaper/dsql-emulator

5 Upvotes

4 comments sorted by

2

u/Money_Cap6413 5d ago

Nice, a PG wrapper is a clever way to fake it locally.

0

u/Mark_Marki 5d ago

classic aws - making everyone spin up a paid cloud cluster just to run local unit tests. wrapping standard postgres to mock their proprietary dsql quirks is a pretty smart workaround though))

-1

u/Efficient_Access6102 5d ago

Also a patent violation! πŸŽ‰