Bert Blommers
Bert Blommers
@davidconnor-ont We've just released Moto v5 with quite a few breaking changes. Let me know if you need any help bringing this PR up-to-date, I'd be happy to help out.
Hi @juanblo! There is no specific documentation/guidance on how to implement this. The original PR where we implemented this feature may offer some insight though: https://github.com/getmoto/moto/pull/5169/files
Hi @aaronclong, that sounds like a reasonable feature. The response would have to be hardcoded of course, both the Lambda-result and the resulting logs. Do you have any preference or...
No problem @aaronclong. Having full flexibility in configuring how the responses look like would be great. Other people have requested this for other operations, so ideally we find a solution...
Hi @k6l3, welcome to Moto! Thanks for raising this and for providing a reproducible test case. Would you like to submit a PR for this yourself?
Thanks for raising this and providing the test case @Lilja - marking it as an enhancement to add validation here. Would you like to submit a PR for this yourself?
Sounds good @aarushisoni - let me know if you need any help or pointers!
We already validate whether the table-attributes exist here: https://github.com/spulec/moto/blob/08ed9038e7618f426e6eba4e27968cb99b1e11ec/moto/dynamodb/responses.py#L378 Reading the error above, the message is different when index-attributes do not exist. So we'll probably have to add another validation...
Oh, and tests for these kinds of error-scenarios tend to live in `tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py` @aarushisoni
Thanks for raising this @marshall7m - marking it as a bug. Edit: Actually, I'm going to mark this as an enhancement. Executing a custom Docker image is essentially a new...