-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for maximum batching window parameter for lambda event source mapping #10080
Comments
For anyone wondering about a workaround in the meantime:
As Terraform isn't aware of the attribute, it won't prompt any changes on the next plan, but will prompt a change once the provider supports the attribute. Note it has to be done this way around, as event source mappings are immutable when looking at them in the console (no edits allowed), and if you try to manually create and import into TF, it will try to destroy/recreate regardless as (as noted in TF docs) "AWS does not expose startingPosition information for existing Lambda event source mappings". |
Came across this Pull Request |
Support for the new |
This has been released in version 2.39.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
In some cases, it's necessary to specify the batching window parameter, e.g. to accumulate batches of events. AWS CLI supports that (
--maximum-batching-window-in-seconds
parameter) so Terraform should support that too.I haven't yet fiddled with Terraform code before but I'd like to implement it.
Thank you guys for your continued work.
New or Affected Resource(s)
aws_lambda_event_source_mapping
Potential Terraform Configuration
For Kinesis, but would be similar for SQS or DynamoDB streams.
References
The text was updated successfully, but these errors were encountered: