We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1689af9 commit 3d81d29Copy full SHA for 3d81d29
api_gateway.tf
@@ -20,8 +20,8 @@ resource "aws_api_gateway_integration" "integration" {
20
count = length(var.http_methods)
21
rest_api_id = aws_api_gateway_rest_api.api.id
22
resource_id = aws_api_gateway_resource.resource.id
23
- integration_http_method = var.http_methods[count.index]
24
- http_method = var.http_methods[count.index]
+ integration_http_method = "POST"
+ http_method = aws_api_gateway_method.method[count.index].http_method
25
type = "AWS_PROXY"
26
uri = aws_lambda_function.lambda.invoke_arn
27
}
0 commit comments