From 09a1bacb7500353c3d923e1c3582ac59aa920c92 Mon Sep 17 00:00:00 2001 From: Godson Fortil Date: Wed, 27 Apr 2022 01:27:24 -0400 Subject: [PATCH] HPCC-27436 Change the order the charts are deployed to improve optimization. Signed-off-by: Godson Fortil --- main.tf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 11a6c96..5a12eb6 100644 --- a/main.tf +++ b/main.tf @@ -169,7 +169,11 @@ resource "helm_release" "hpcc" { } } - depends_on = [helm_release.storage, module.kubernetes] + depends_on = [ + helm_release.elk, + helm_release.storage, + module.kubernetes + ] } resource "helm_release" "elk" { @@ -189,6 +193,10 @@ resource "helm_release" "elk" { timeout = try(var.elk.timeout, 600) wait_for_jobs = try(var.elk.wait_for_jobs, null) lint = try(var.elk.lint, null) + + depends_on = [ + helm_release.storage + ] } resource "helm_release" "storage" {