serverless-plugin-offline-dynamodb-stream
serverless-plugin-offline-dynamodb-stream copied to clipboard
missing eventSourceARN
Hello! I noticed that eventSourceARN is missing in event, but in some cases it's crucial field. Is it possible to add this field?
This looks like it comes from beyond the plugin - dynamodb local perhaps? @kalitamih I myself just need it to get the table name - is is the same for your case? Perhaps this can be injected.
would need that also. multiple tables stream to the same lambda. i cannot distinguish which table sent the event w/o knowing the eventSourceArn
.
@cyberwombat did you find a solution to your problem?
I've submitted a PR #19 to solve this issue, in the meantime you could install my fork
yarn add --dev markw351/serverless-plugin-of fline-dynamodb-stream#inject-eventStreamARN
@kalitamih @cyberwombat @martinjuhasz