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" {