From 0fe3950095090de0c1947b5f1630a47ae171e017 Mon Sep 17 00:00:00 2001 From: Hari Muthusamy <51927274+hmuthusamy@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:00:55 -0400 Subject: [PATCH] Feature/fix flux java dashboard (#288) * Added depends on to ensure flux is installed before dashboards are created when enabled * Added depends on to ensure flux is installed before dashboards are created when enabled * Pre-commit fixes --------- Co-authored-by: Rodrigue Koffi --- modules/eks-monitoring/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/eks-monitoring/main.tf b/modules/eks-monitoring/main.tf index 5b788b4a..2cb7d6dd 100644 --- a/modules/eks-monitoring/main.tf +++ b/modules/eks-monitoring/main.tf @@ -237,6 +237,7 @@ module "java_monitoring" { count = var.enable_java ? 1 : 0 pattern_config = coalesce(var.java_config, local.java_pattern_config) + depends_on = [resource.helm_release.fluxcd] } module "nginx_monitoring" { @@ -244,6 +245,7 @@ module "nginx_monitoring" { count = var.enable_nginx ? 1 : 0 pattern_config = local.nginx_pattern_config + depends_on = [resource.helm_release.fluxcd] } module "istio_monitoring" { @@ -251,6 +253,7 @@ module "istio_monitoring" { count = var.enable_istio ? 1 : 0 pattern_config = coalesce(var.istio_config, local.istio_pattern_config) + depends_on = [resource.helm_release.fluxcd] } module "fluentbit_logs" {