I really liked your example; it was very didactic. However, I tried to run it using LocalStack and couldn't get it to work. The application starts but crashes shortly after, without specifying the error. Maybe I'm configuring something incorrectly. Could you run the same example using LocalStack?