Skip to content

Commit

Permalink
fix analysis lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
shmish111 committed Sep 21, 2020
1 parent ece7c7e commit b3ca951
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions deployment/terraform/gateway.tf
Expand Up @@ -29,27 +29,13 @@ resource "aws_api_gateway_integration" "marlowe_symbolic_lambda" {
http_method = aws_api_gateway_method.marlowe_symbolic_proxy.http_method

integration_http_method = "POST"
type = "AWS"
type = "AWS_PROXY"
uri = aws_lambda_function.marlowe_symbolic.invoke_arn

request_parameters = {
}
}

resource "aws_api_gateway_method_response" "marlowe_symbolic_lambda" {
rest_api_id = aws_api_gateway_rest_api.marlowe_symbolic_lambda.id
resource_id = aws_api_gateway_resource.marlowe_symbolic_proxy.id
http_method = aws_api_gateway_method.marlowe_symbolic_proxy.http_method
status_code = "200"
}

resource "aws_api_gateway_integration_response" "marlowe_symbolic_lambda" {
rest_api_id = aws_api_gateway_rest_api.marlowe_symbolic_lambda.id
resource_id = aws_api_gateway_resource.marlowe_symbolic_proxy.id
http_method = aws_api_gateway_method.marlowe_symbolic_proxy.http_method
status_code = aws_api_gateway_method_response.marlowe_symbolic_lambda.status_code
}

resource "aws_api_gateway_deployment" "marlowe_symbolic_lambda" {
depends_on = [
aws_api_gateway_integration.marlowe_symbolic_lambda,
Expand Down

0 comments on commit b3ca951

Please sign in to comment.