diff --git a/terranix/lib/nomad_job.nix b/terranix/lib/nomad_job.nix index 1b4773c..c85fe4f 100644 --- a/terranix/lib/nomad_job.nix +++ b/terranix/lib/nomad_job.nix @@ -9,4 +9,8 @@ enabled = true; inherit vars; }; + lifecycle.ignore_changes = [ + "hcl2[0].vars[\"flake_ref\"]" + "hcl2[0].vars[\"flake_sha\"]" + ]; } // builtins.removeAttrs args [ "jobspec" "vars" ]