Skip to content

Commit 288181b

Browse files
committed
fix update feed status
1 parent 25cb46a commit 288181b

File tree

2 files changed

+6
-1
lines changed
  • functions-python/tasks_executor/src/tasks/geojson
  • infra/functions-python

2 files changed

+6
-1
lines changed

functions-python/tasks_executor/src/tasks/geojson/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This task adjust the GeoJSON files removing the map IDs and reducing the precisi
66

77
## Task ID
88

9-
Use task ID: `update_geojson_files_precision`
9+
Use task ID: `update_geojson_files`
1010

1111
---
1212

infra/functions-python/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,11 @@ resource "google_cloudfunctions2_function" "update_feed_status" {
892892
vpc_connector_egress_settings = "PRIVATE_RANGES_ONLY"
893893

894894
environment_variables = {
895+
PROJECT_ID = var.project_id
896+
GCP_REGION = var.gcp_region
897+
ENVIRONMENT = var.environment
898+
MATERIALIZED_VIEW_QUEUE = google_cloud_tasks_queue.refresh_materialized_view_task_queue.name
899+
SERVICE_ACCOUNT_EMAIL = google_service_account.functions_service_account.email
895900
# prevents multiline logs from being truncated on GCP console
896901
PYTHONNODEBUGRANGES = 0
897902
}

0 commit comments

Comments
 (0)