feat: Add response_streaming_invoke_arn to outputs#756
Open
joaquingatica wants to merge 3 commits into
Open
Conversation
response_streaming_invoke_arn to outputs
joaquingatica
marked this pull request as ready for review
June 3, 2026 20:20
Author
|
Do let me know if this qualifies as "significant work" as per the CONTRIBUTING.md guidelines and I'll happily open an Issue to track discussions. I feel like it's small enough to not be considered significant, but could be wrong. Thank you! |
|
This PR has been automatically marked as stale because it has been open 30 days |
Author
|
Still a relevant change, commenting to remove stale status. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
lambda_function_response_streaming_invoke_arnoutput which is a direct forward of the existingaws_lambda_function.response_streaming_invoke_arnoutput.Motivation and Context
As of now, if the Response Streaming Invoke ARN is needed outside of this module, it has to be derived from the
invoke_arnwhen it should be able use the native output of theaws_lambda_functionresource instead.One example is when streaming responses from API Gateway, something similar to the following is needed to use as
uriin anaws_api_gateway_integrationwhenresponse_transfer_mode = "STREAM"is used:Instead, the following could be done when using the output added through this PR:
The workaround is inspired by the suggestion in hashicorp/terraform-provider-aws#45649
Breaking Changes
How Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/completeby adding a new output to it which forwards the module's outputREADME.mdwas updated accordingly viaterraform-docsexamples/*projectsterraform apply, the new output was printed to the CLI.XXXXXXXXXXXX):lambda_function_response_streaming_invoke_arn = "arn:aws:apigateway:eu-west-1:lambda:path/2021-11-15/functions/arn:aws:lambda:eu-west-1:XXXXXXXXXXXX:function:capable-crayfish-lambda1/response-streaming-invocations"pre-commit run -aon my pull request