File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ resource "aws_apigatewayv2_route" "root_route" {
3333# Integration for the "/" route
3434resource "aws_apigatewayv2_integration" "root_integration" {
3535 api_id = aws_apigatewayv2_api. example . id
36- integration_type = " HTTP "
36+ integration_type = " HTTP_PROXY "
3737 integration_uri = var. alb_dns
3838 integration_method = " GET"
3939 payload_format_version = " 1.0"
@@ -42,7 +42,7 @@ resource "aws_apigatewayv2_integration" "root_integration" {
4242# Integration for the "/api/v1/hi" route
4343resource "aws_apigatewayv2_integration" "api_v1_hi_integration" {
4444 api_id = aws_apigatewayv2_api. example . id
45- integration_type = " HTTP "
45+ integration_type = " HTTP_PROXY "
4646 integration_uri = " ${ var . alb_dns } /api/v1/hi"
4747 integration_method = " GET"
4848 payload_format_version = " 1.0"
You can’t perform that action at this time.
0 commit comments