Deploy adhoc backups to all hosts

This commit is contained in:
IamTheFij 2023-08-03 09:53:03 -07:00
parent f66bd95fbb
commit a2d24e03cd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ resource "nomad_job" "backup" {
resource "nomad_job" "backup-oneoff" {
# TODO: Get list of nomad hosts dynamically
for_each = toset(["n1", "n2"])
for_each = toset(["n1", "n2", "pi4"])
# for_each = toset([
# for node in data.consul_service.nomad.service :
# node.node_name