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 committed Oct 31, 2024
1 parent dffb5b8 commit f44681f
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" {

Check warning on line 10 in main.tf

View workflow job for this annotation

GitHub Actions / tflint (ubuntu-latest)

Missing version constraint for provider "null" in `required_providers`

Check warning on line 10 in main.tf

View workflow job for this annotation

GitHub Actions / tflint (macos-latest)

Missing version constraint for provider "null" in `required_providers`

Check warning on line 10 in main.tf

View workflow job for this annotation

GitHub Actions / tflint (windows-latest)

Missing version constraint for provider "null" in `required_providers`
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 f44681f

Please sign in to comment.