Attempt to make Terraform ignore flake_{ref,sha} changes

Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
magic_rb 2023-10-15 16:23:32 +02:00
parent 6ea71ebde7
commit 9ad9dcc2c1
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -9,4 +9,8 @@
enabled = true; enabled = true;
inherit vars; inherit vars;
}; };
lifecycle.ignore_changes = [
"hcl2[0].vars[\"flake_ref\"]"
"hcl2[0].vars[\"flake_sha\"]"
];
} // builtins.removeAttrs args [ "jobspec" "vars" ] } // builtins.removeAttrs args [ "jobspec" "vars" ]