From 9012a6df598e028de453d7e37025d5cbcb2f4985 Mon Sep 17 00:00:00 2001 From: Ole Langbehn <ole.langbehn@inoio.de> Date: Sat, 3 Aug 2024 12:24:48 +0200 Subject: [PATCH] HOLI-9218 encrypt cloud functions - use encrypted docker repository --- terraform/environments/function.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terraform/environments/function.tf b/terraform/environments/function.tf index de69a36..bcd0c84 100644 --- a/terraform/environments/function.tf +++ b/terraform/environments/function.tf @@ -28,8 +28,9 @@ resource "google_cloudfunctions2_function" "holi-chat-integration" { kms_key_name = data.terraform_remote_state.holi_infra_state.outputs.artifact_registry_cloudfunctions_key_id build_config { - runtime = "nodejs18" - entry_point = "receiveEvent" + runtime = "nodejs18" + entry_point = "receiveEvent" + docker_repository = data.terraform_remote_state.holi_infra_state.outputs.cloudfunctions_repository_id source { storage_source { -- GitLab