terraform-aws-modules/terraform-aws-lambda

Support for Batch Item Failures (function_response_types)

agjmills opened this issue · 2 comments

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • Yes ✅: please list the AWS provider version which introduced this functionality

3.43.0

Is your request related to a problem? Please describe.

Unable to return a partial successful response for a batch of records (Kinesis / DynamoDB sources only)

Describe the solution you'd like.

Add a new input for function_response_types. This will allow everyone to report partial item failures and prevent duplicate records from being processed when retrying a batch.

Describe alternatives you've considered.

Could use the separate resource for event_source_mapping but I'd rather use a single module!

Additional context

Actually worked out how it works, ignore this!

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.