-
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
Add support for Lambda Destinations for Asynchronous Invocations #11087
Comments
I'll pick this one up since it is similar in configuration and testing to the new Lambda Provisioned Concurrency configuration. Since the API refers to these as "FunctionEventInvokeConfig", we'll probably stick with an admittedly uglier |
Pull request submitted: #11165 |
Reference: #11087 Output from acceptance testing: ``` --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_AliasName (39.02s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunction (41.57s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_FunctionName_Arn (48.59s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_Latest (67.00s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumEventAgeInSeconds (68.94s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunctionEventInvokeConfig (70.85s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Swap (75.07s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Remove (92.63s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_basic (101.05s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_FunctionVersion (108.37s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumRetryAttempts (111.47s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnFailure_Destination (118.33s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnSuccess_Destination (121.72s) ```
Reference: #11087 Output from acceptance testing: ``` --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_AliasName (39.02s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunction (41.57s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_FunctionName_Arn (48.59s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_Latest (67.00s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumEventAgeInSeconds (68.94s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunctionEventInvokeConfig (70.85s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Swap (75.07s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Remove (92.63s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_basic (101.05s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_FunctionVersion (108.37s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumRetryAttempts (111.47s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnFailure_Destination (118.33s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnSuccess_Destination (121.72s) ```
Reference: #11087 Output from acceptance testing: ``` --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_AliasName (39.02s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunction (41.57s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_FunctionName_Arn (48.59s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_Latest (67.00s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumEventAgeInSeconds (68.94s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunctionEventInvokeConfig (70.85s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Swap (75.07s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Remove (92.63s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_basic (101.05s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_FunctionVersion (108.37s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumRetryAttempts (111.47s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnFailure_Destination (118.33s) --- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnSuccess_Destination (121.72s) ```
Support for the new |
This has been released in version 2.43.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
Lambdas will be significantly faster (less expensive) and simpler (no more routing or retries in lambda code) with the addition of Destinations for Asynchronous Invocations.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: