Skip to content

Commit

Permalink
add cleanup_on_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 8, 2025
1 parent de5e041 commit 8f12610
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ module "loki_irsa_role" {
}

resource "helm_release" "loki" {
chart = "loki"
version = var.loki_chart_version
name = "loki"
namespace = var.namespace
repository = "https://grafana.github.io/helm-charts"
wait = true
chart = "loki"
version = var.loki_chart_version
name = "loki"
namespace = var.namespace
repository = "https://grafana.github.io/helm-charts"
cleanup_on_fail = true
wait = true

values = [
templatefile("${path.module}/values/loki.yml.tpl", {
Expand Down

0 comments on commit 8f12610

Please sign in to comment.