Skip to content

Commit 3b2c5e3

Browse files
committed
updated main.tf
1 parent d6007d6 commit 3b2c5e3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

infra/functions-python/main.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ locals {
6868

6969
function_tasks_executor_config = jsondecode(file("${path.module}/../../functions-python/tasks_executor/function_config.json"))
7070
function_tasks_executor_zip = "${path.module}/../../functions-python/tasks_executor/.dist/tasks_executor.zip"
71-
72-
function_refresh_materialized_view_config = jsondecode(file("${path.module}/../../functions-python/refresh_materialized_view/function_config.json"))
73-
function_refresh_materialized_view_zip = "${path.module}/../../functions-python/refresh_materialized_view/.dist/refresh_materialized_view.zip"
7471
}
7572

7673
locals {
@@ -85,7 +82,6 @@ locals {
8582
[for x in local.function_update_feed_status_config.secret_environment_variables : x.key],
8683
[for x in local.function_export_csv_config.secret_environment_variables : x.key],
8784
[for x in local.function_tasks_executor_config.secret_environment_variables : x.key],
88-
[for x in local.function_refresh_materialized_view_config.secret_environment_variables : x.key]
8985
)
9086

9187
# Convert the list to a set to ensure uniqueness
@@ -231,13 +227,6 @@ resource "google_storage_bucket_object" "tasks_executor_zip" {
231227
source = local.function_tasks_executor_zip
232228
}
233229

234-
# 15. Refresh Materialized View
235-
resource "google_storage_bucket_object" "refresh_materialized_view_zip" {
236-
bucket = google_storage_bucket.functions_bucket.name
237-
name = "refresh-materialized-view-${substr(filebase64sha256(local.function_refresh_materialized_view_zip), 0, 10)}.zip"
238-
source = local.function_refresh_materialized_view_zip
239-
}
240-
241230
# Secrets access
242231
resource "google_secret_manager_secret_iam_member" "secret_iam_member" {
243232
for_each = local.unique_secret_keys

0 commit comments

Comments
 (0)