diff --git a/terraform/environments/function.tf b/terraform/environments/function.tf
index de69a36edfcb7a42d2e4b43fbaa85fff667430da..bcd0c8465fd74edbc0358fc73425f093b1932f28 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 {