terraform-aws-modules / terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Apache License 2.0
886 stars 657 forks source link

Support for Batch Item Failures (function_response_types) #394

Closed agjmills closed 1 year ago

agjmills commented 1 year ago

Is your request related to a new offering from AWS?

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

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

agjmills commented 1 year ago

Actually worked out how it works, ignore this!

github-actions[bot] commented 1 year ago

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.