And that makes it the third time this week that I encountered a bug involving DynamoDB that was avoidable with a unit test that actually used a proper database.
(To be fair, this time is was my fault: I haven’t got around to writing the unit test yet).