From f44681f33dfc456bb1d05c408525a8e73c6307a7 Mon Sep 17 00:00:00 2001 From: Harshit Luthra Date: Fri, 1 Nov 2024 02:57:19 +0530 Subject: [PATCH] fix(main.tf): correct trigger condition for helm update to handle false value properly --- main.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.tf b/main.tf index 0e1fac7..7e464be 100644 --- a/main.tf +++ b/main.tf @@ -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" {