serverless-plugin-offline-dynamodb-stream icon indicating copy to clipboard operation
serverless-plugin-offline-dynamodb-stream copied to clipboard

Offline Stream ignoring Lambda Filter Patterns.

Open kristianatdoshii opened this issue 2 years ago • 0 comments

I have a Lambda set up with filter patterns with something like: events: - stream: type: dynamodb batchSize: 1 maximumRetryAttempts: 1 arn: ${self:custom.table.streamArn} filterPatterns: - eventName: [ INSERT ] dynamodb: NewImage: triggerEmail: BOOL: [ true ]

I am finding that any the package is ignoring this filterPattern and triggering for MODIFY events too

Environment: darwin, node 14.18.2, framework 3.23.0 (local), plugin 6.2.2, SDK 4.3.2

kristianatdoshii avatar Oct 26 '22 22:10 kristianatdoshii