Closed sfc-gh-pkommini closed 2 years 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.
Is your request related to a new offering from AWS?
No
Is your request related to a problem? Please describe.
I used the code above to create the api gateway and integrations, but the
tls_config
doesn't actually make it to theaws_apigatewayv2_integration
resource. Could you please add this?Describe the solution you'd like.
Pass the
tls_config
variable through to theaws_apigatewayv2_integration
resource. This is required when the listener is no 443 and ALB domain name is not directly tied to the certificate.Describe alternatives you've considered.
The alternative is that one would need to create the integration outside of this module. That defeats the purpose of modules.
Additional context
From the docs: The
tls_config
object supports the following:server_name_to_verify
- (Optional) If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.