Skip to content

Commit e59d956

Browse files
fix: terraform hotfix for backfill-dataset-service-date-range (#895)
* terraform hotfix
1 parent 9c12be7 commit e59d956

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

infra/functions-python/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ locals {
5454
function_operations_api_zip = "${path.module}/../../functions-python/operations_api/.dist/operations_api.zip"
5555

5656
function_backfill_dataset_service_date_range_config = jsondecode(file("${path.module}/../../functions-python/backfill_dataset_service_date_range/function_config.json"))
57-
function_backfill_dataset_service_date_range_zip = "${path.module}/../../functions-python/backfill_dataset_service_date_range/.dist/operations_api.zip"
57+
function_backfill_dataset_service_date_range_zip = "${path.module}/../../functions-python/backfill_dataset_service_date_range/.dist/backfill_dataset_service_date_range.zip"
5858
}
5959

6060
locals {
@@ -154,10 +154,10 @@ resource "google_storage_bucket_object" "operations_api_zip" {
154154
}
155155

156156
# 9. Backfill Gtfs Datasets Service Date Range
157-
resource "google_storage_bucket_object" "function_backfill_dataset_service_date_range_zip" {
157+
resource "google_storage_bucket_object" "backfill_dataset_service_date_range_zip" {
158158
bucket = google_storage_bucket.functions_bucket.name
159-
name = "backfill-dataset-service-date-range-${substr(filebase64sha256(local.function_operations_api_zip), 0, 10)}.zip"
160-
source = local.function_operations_api_zip
159+
name = "backfill-dataset-service-date-range-${substr(filebase64sha256(local.function_backfill_dataset_service_date_range_zip), 0, 10)}.zip"
160+
source = local.function_backfill_dataset_service_date_range_zip
161161
}
162162

163163

0 commit comments

Comments
 (0)