Skip to content

Commit

Permalink
Merge pull request #11 from gfortil/HPCC-27436
Browse files Browse the repository at this point in the history
HPCC-27436 Change the order the charts are deployed to improve optimization.
  • Loading branch information
Godson Fortil authored Apr 27, 2022
2 parents 8f00201 + 09a1bac commit 4ddcfe7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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" {
Expand Down

0 comments on commit 4ddcfe7

Please sign in to comment.