diff --git a/parts/deploy-api-gateway/go/api_gateway.tf b/parts/deploy-api-gateway/go/api_gateway.tf index d38d966..bfdd06b 100644 --- a/parts/deploy-api-gateway/go/api_gateway.tf +++ b/parts/deploy-api-gateway/go/api_gateway.tf @@ -65,7 +65,7 @@ resource "aws_apigatewayv2_integration" "hello_world_lambda" { // specify route that will be used to invoke lambda function resource "aws_apigatewayv2_route" "hello_world_lambda" { api_id = aws_apigatewayv2_api.simple_api.id - route_key = "api/v1/hello" + route_key = "GET /api/v1/hello" target = "integrations/${aws_apigatewayv2_integration.hello_world_lambda.id}" }