Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nivleshc/f634bc60b916c78341d34811ab9d6bfd to your computer and use it in GitHub Desktop.
Save nivleshc/f634bc60b916c78341d34811ab9d6bfd 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_stage" "stage" {
deployment_id = aws_api_gateway_deployment.photo_location_map_deployment.id
rest_api_id = aws_api_gateway_rest_api.photo_location_map.id
stage_name = local.api_gateway_stage_name
depends_on = [
aws_api_gateway_integration.fetch_object,
aws_api_gateway_integration.upload_photo,
aws_api_gateway_integration.regenerate_map
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment