-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_lambda_event_source_mapping: Adding ParallelizationFactor, MaximumRecordAgeInSeconds, BisectBatchOnFunctionError, MaximumRetryAttempts, DestinationConfig #11100
resource/aws_lambda_event_source_mapping: Adding ParallelizationFactor, MaximumRecordAgeInSeconds, BisectBatchOnFunctionError, MaximumRetryAttempts, DestinationConfig #11100
Conversation
Hi @bflad, I wonder if this feature set could be added to your shortlist? |
Any ideas when this could be merged in? |
…rm-provider-aws into upstream-master
Updated this PR to remove the implementation of DestinationConfig which, since this PR was created, has been implemented in the new |
I believe you should put the I made a test lambda and tried 3 different situations for DLQing with a kinesis
Only the |
@soupmatt - Thanks for the review. I've re-added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kostas-theo 👋 Thank you for submitting this. Please see the below initial feedback and let us know if you have questions or do not have time to implement them.
@bflad - Thanks for the review. I believe if resolved all of your recommendations. Let me know if there is anything further required. Cheers! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, thanks @kostas-theo 🚀
Output from acceptance testing:
--- PASS: TestAccAWSLambdaEventSourceMapping_sqs_withFunctionName (36.43s)
--- PASS: TestAccAWSLambdaEventSourceMapping_kinesis_disappears (63.39s)
--- PASS: TestAccAWSLambdaEventSourceMapping_MaximumRecordAgeInSeconds (67.88s)
--- PASS: TestAccAWSLambdaEventSourceMapping_ParallelizationFactor (70.38s)
--- PASS: TestAccAWSLambdaEventSourceMapping_StartingPositionTimestamp (70.49s)
--- PASS: TestAccAWSLambdaEventSourceMapping_BatchWindow (70.76s)
--- PASS: TestAccAWSLambdaEventSourceMapping_BisectBatch (71.28s)
--- PASS: TestAccAWSLambdaEventSourceMapping_kinesis_removeBatchSize (73.50s)
--- PASS: TestAccAWSLambdaEventSourceMapping_KinesisDestinationConfig (76.77s)
--- PASS: TestAccAWSLambdaEventSourceMapping_MaximumRetryAttempts (79.29s)
--- PASS: TestAccAWSLambdaEventSourceMapping_kinesis_basic (83.44s)
--- PASS: TestAccAWSLambdaEventSourceMapping_sqs_basic (86.55s)
--- PASS: TestAccAWSLambdaEventSourceMapping_sqsDisappears (112.88s)
--- PASS: TestAccAWSLambdaEventSourceMapping_changesInEnabledAreDetected (134.17s)
This has been released in version 2.51.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
This PR implements the new functionality added in aws-sdk-go v1.25.42 for lambda event source mappings, specifically adding the optional arguments/configurations:
Related AWS Posts describing changes:
Release note for CHANGELOG:
Output from acceptance testing: