mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
func: remove triggers from resources that copy the binaries into the remote instances (#25036)
This commit is contained in:
committed by
GitHub
parent
d9e2cb23b9
commit
d53b8a7e98
@@ -8,8 +8,7 @@ resource "local_sensitive_file" "nomad_systemd_unit_file" {
|
||||
}
|
||||
|
||||
resource "null_resource" "install_nomad_binary_linux" {
|
||||
count = var.platform == "linux" ? 1 : 0
|
||||
triggers = { nomad_binary_sha = filemd5(var.nomad_local_binary) }
|
||||
count = var.platform == "linux" ? 1 : 0
|
||||
|
||||
connection {
|
||||
type = "ssh"
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
resource "null_resource" "install_nomad_binary_windows" {
|
||||
count = var.platform == "windows" ? 1 : 0
|
||||
triggers = { nomad_binary_sha = filemd5(var.nomad_local_binary) }
|
||||
count = var.platform == "windows" ? 1 : 0
|
||||
|
||||
connection {
|
||||
type = "ssh"
|
||||
|
||||
Reference in New Issue
Block a user