Skip to content

Commit

Permalink
Added depends on to ensure flux is installed before dashboards are cr…
Browse files Browse the repository at this point in the history
…eated when enabled
  • Loading branch information
hmuthusamy committed Oct 30, 2024
1 parent 090b6eb commit 63a6b27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/eks-monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,23 @@ 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" {
source = "./patterns/nginx"
count = var.enable_nginx ? 1 : 0

pattern_config = local.nginx_pattern_config
depends_on = [resource.helm_release.fluxcd]
}

module "istio_monitoring" {
source = "./patterns/istio"
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" {
Expand Down

0 comments on commit 63a6b27

Please sign in to comment.