From 40581ce190bc08feecf5ff77a54bb620bc3217cb Mon Sep 17 00:00:00 2001 From: Torsten Wendland Date: Fri, 23 Jul 2021 13:57:11 +0200 Subject: [PATCH] Fixes #220 - removed worker count Fixes #220 - removed worker count --- modules/3_helpernode/helpernode.tf | 2 -- modules/5_install/install.tf | 6 ------ 2 files changed, 8 deletions(-) diff --git a/modules/3_helpernode/helpernode.tf b/modules/3_helpernode/helpernode.tf index bc799f74a9..3210d2543e 100644 --- a/modules/3_helpernode/helpernode.tf +++ b/modules/3_helpernode/helpernode.tf @@ -79,7 +79,6 @@ locals { resource "null_resource" "prep_helpernode_tools_git" { triggers = { bootstrap_count = var.bootstrap_port_ip == "" ? 0 : 1 - worker_count = length(var.worker_port_ips) } count = length(regexall("\\.zip$", var.helpernode_repo)) == 0 ? 1 : 0 @@ -106,7 +105,6 @@ resource "null_resource" "prep_helpernode_tools_git" { resource "null_resource" "prep_helpernode_tools_curl" { triggers = { bootstrap_count = var.bootstrap_port_ip == "" ? 0 : 1 - worker_count = length(var.worker_port_ips) } count = length(regexall("\\.zip$", var.helpernode_repo)) > 0 ? 1 : 0 diff --git a/modules/5_install/install.tf b/modules/5_install/install.tf index f549a91081..b34798ac05 100644 --- a/modules/5_install/install.tf +++ b/modules/5_install/install.tf @@ -74,9 +74,6 @@ locals { } resource "null_resource" "prep_playbooks_tools_git" { - triggers = { - worker_count = length(var.worker_ips) - } count = length(regexall("\\.zip$", var.install_playbook_repo)) == 0 ? 1 : 0 connection { @@ -100,9 +97,6 @@ resource "null_resource" "prep_playbooks_tools_git" { } resource "null_resource" "prep_playbooks_tools_curl" { - triggers = { - worker_count = length(var.worker_ips) - } count = length(regexall("\\.zip$", var.install_playbook_repo)) > 0 ? 1 : 0 connection {