From 7093da37c616a21f2e0a7ea799b480418be40445 Mon Sep 17 00:00:00 2001 From: imreddy13 <132504814+imreddy13@users.noreply.github.com> Date: Tue, 5 Mar 2024 17:21:35 -0800 Subject: [PATCH] Fix kuberay_monitoring module dependency for RAG (#290) Fix `kuberay_monitoring` module dependency for RAG 'kuberay_monitoring' module should depends on 'namespace' module --- applications/rag/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/rag/main.tf b/applications/rag/main.tf index 74b8abbcf..654151aaa 100644 --- a/applications/rag/main.tf +++ b/applications/rag/main.tf @@ -181,6 +181,7 @@ module "kuberay-monitoring" { create_namespace = true enable_grafana_on_ray_dashboard = var.enable_grafana_on_ray_dashboard k8s_service_account = var.ray_service_account + depends_on = [module.namespace] } module "inference-server" { @@ -218,5 +219,5 @@ module "frontend" { url_domain_addr = var.frontend_url_domain_addr url_domain_name = var.frontend_url_domain_name members_allowlist = var.frontend_members_allowlist - depends_on = [ module.namespace ] + depends_on = [ module.namespace ] }