mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Nah it won't work
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
0ca6ec76c4
commit
52684b1723
|
@ -6,9 +6,6 @@ let
|
|||
in
|
||||
{
|
||||
resource."nomad_job"."website" = nomadJob {
|
||||
lifecycle.replace_triggered_by = [
|
||||
"resource.nomad_job.website.hcl2[0].vars[\"flake_path\"]"
|
||||
];
|
||||
jobspec = ./job.hcl;
|
||||
vars = {
|
||||
flake_ref = "${vars.flake_host}?rev=${vars.flake_rev}&ref=${vars.flake_ref}";
|
||||
|
|
|
@ -9,11 +9,4 @@
|
|||
enabled = true;
|
||||
inherit vars;
|
||||
};
|
||||
lifecycle = {
|
||||
ignore_changes = [
|
||||
"hcl2[0].vars[\"flake_ref\"]"
|
||||
"hcl2[0].vars[\"flake_sha\"]"
|
||||
];
|
||||
create_before_destroy = true;
|
||||
};
|
||||
} // builtins.removeAttrs args [ "jobspec" "vars" ]
|
||||
|
|
Loading…
Reference in a new issue