Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nivleshc/4e27c782b9637caddcf9cbe6e36a50cd to your computer and use it in GitHub Desktop.
Save nivleshc/4e27c782b9637caddcf9cbe6e36a50cd to your computer and use it in GitHub Desktop.
This gist contains code from the file api_gateway.tf which is part of the blog-photo-location-map repository.
resource "aws_api_gateway_integration" "fetch_object" {
rest_api_id = aws_api_gateway_rest_api.photo_location_map.id
resource_id = aws_api_gateway_resource.fetch_object.id
http_method = aws_api_gateway_method.fetch_object_get.http_method
integration_http_method = "POST"
type = "AWS_PROXY"
uri = aws_lambda_function.fetch_object_lambda.invoke_arn
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment