Created
March 23, 2025 13:27
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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