Skip to content

Commit b5630e3

Browse files
committed
put back GOOGLE_FUNCTION_SOURCE
1 parent 1c7b9ea commit b5630e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infra/functions-python/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ resource "google_cloudfunctions2_function" "reverse_geolocation_populate" {
968968
environment_variables = {
969969
PYTHONNODEBUGRANGES = 0
970970
DB_REUSE_SESSION = "True"
971+
GOOGLE_FUNCTION_SOURCE = "reverse_geolocation_populate.py"
971972
}
972973
available_memory = local.function_reverse_geolocation_populate_config.available_memory
973974
timeout_seconds = local.function_reverse_geolocation_populate_config.timeout
@@ -1242,6 +1243,7 @@ resource "google_cloudfunctions2_function" "tasks_executor" {
12421243
PROJECT_ID = var.project_id
12431244
ENV = var.environment
12441245
PUBSUB_TOPIC_NAME = "rebuild-bounding-boxes-topic"
1246+
GOOGLE_FUNCTION_SOURCE = "src/main.py"
12451247
}
12461248
available_memory = local.function_tasks_executor_config.memory
12471249
timeout_seconds = local.function_tasks_executor_config.timeout

0 commit comments

Comments
 (0)