Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created March 25, 2025 22:44
Show Gist options
  • Save nivleshc/32212783031c520c2e037951593bb97d to your computer and use it in GitHub Desktop.
Save nivleshc/32212783031c520c2e037951593bb97d to your computer and use it in GitHub Desktop.
This gist contains code from the file lambda.tf which is part of the blog-photo-location-map repository.
data "archive_file" "fetch_object_lambda_src" {
type = "zip"
source_file = "${path.module}/src/function/fetch-object-lambda.py"
output_path = "${path.module}/src/function/fetch-object-lambda.zip"
}
data "archive_file" "upload_photo_lambda_src" {
type = "zip"
source_file = "${path.module}/src/function/upload-photo-lambda.py"
output_path = "${path.module}/src/function/upload-photo-lambda.zip"
}
data "archive_file" "regenerate_map_lambda_src" {
type = "zip"
source_file = "${path.module}/src/function/regenerate-map-lambda.py"
output_path = "${path.module}/src/function/regenerate-map-lambda.zip"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment