Skip to content

Commit

Permalink
fix(main.tf): correct trigger condition for helm update to handle fal…
Browse files Browse the repository at this point in the history
…se value properly
  • Loading branch information
sachincool authored Nov 1, 2024
1 parent dffb5b8 commit 54ca1a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ data "aws_eks_cluster" "cluster" {

resource "null_resource" "helm_install" {
triggers = {
chart_name = var.chart_name
chart_version = var.chart_version
release_name = var.release_name
namespace = var.namespace
update_trigger = var.trigger_helm_update != null ? timestamp() : "initial"
chart_name = var.chart_name
chart_version = var.chart_version
release_name = var.release_name
namespace = var.namespace
trigger_helm_update = var.trigger_helm_update != false ? timestamp() : "initial"
}

provisioner "local-exec" {
Expand Down

0 comments on commit 54ca1a2

Please sign in to comment.