4 ms·
Terraform seems to have the same 'problem' as nix in that regard; but Hashicorp came up with a solution to that recently: https://www.hashicorp.com/blog/announ
by arianvanp 6y ago
Terraform seems to have the same 'problem' as nix in that regard; but Hashicorp came up with a solution to that recently:
https://www.hashicorp.com/blog/announcing-consul-terraform-sync-tech-preview https://www.hashicorp.com/blog/announcing-consul-terraform-s...
I wonder if something like that for nix would help you.
E.g. have the nix config in consul; and have the local daemon `watch` the consul config (And services) and build and acitvate the nix thing every time the consul config changes.
Could maybe even do automatic rollbacks based on consul health checks.
I think it could work pretty well!