Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nivleshc/90c8e9086b46c551988a6c56b0605b8e to your computer and use it in GitHub Desktop.
Save nivleshc/90c8e9086b46c551988a6c56b0605b8e 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_deployment" "photo_location_map_deployment" {
rest_api_id = aws_api_gateway_rest_api.photo_location_map.id
lifecycle {
create_before_destroy = true
}
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