-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NixOS upgrades may break due to lack of stateVersion #33
Comments
Why isn't it the configuration.nix author's job to set |
Agreed. The terraform-nixos project should probably mention that responsibility though. |
Actually, NixOS should probably also fail to evaluate without the |
Sounds good to me (maybe only if it tries to use it). Certainly also not terraform-nixos's responsibility. |
I started here: NixOS/nixpkgs#149877 |
Describe the bug
Installations of NixOS should set the
stateVersion
option, such that NixOS can take legacy filesystem state locations and such into account.To Reproduce
(hypothetical but bound to happen)
Expected behavior
terraform-nixos saves the stateVersion on first deployment and sets it until the machine is destroyed.
Environment
Additional context
From the docs
The text was updated successfully, but these errors were encountered: