I'd really strongly recommend not using this in most scenarios. Localstack sits in an uncomfortable no mans land between a mock and the real thing. Most of the functions are stubbed via Boto/Moto, some services run off separate Docker images, while some missing functionality of Moto is filled in.
I can't really think of a situation where this is better than mocking, because of the subtle differences that introduced here.
I can't really think of a situation where this is better than mocking, because of the subtle differences that introduced here.