Testing Terraform with AWS Emulator

8 points by winter


kevinc

I've been pounding on this emulator since hearing about it a week or two ago. Service by service, many endpoints are unimplemented, but it seems to be fleshing out day by day. Basic resources deployed with terraform or AWS CLI work fine; queues and eventbridge run, lambda executes a code bundle you deploy to it. I look forward to it being good enough at the resources I use to run integration tests in the local dev cycle.

igorclark

Mind-boggling that this is only coming from AWS now. Obviously they have the counter-motivation that without it people have to spin up largely paid instances of everything in order to be able to test their AWS-reliant apps, but it’s been a pain point for so long that things like Localstack sprung up to address it, and GCP provided emulators for their main services even a decade ago. Emulation isn’t perfect but it’s a lot better than nothing and a lot cheaper than everything.