You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform/all-in-one/variables.tf
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,18 @@ variable "kexec_tarball_url" {
7
7
# To make this re-usuable we maybe should accept a store path here?
8
8
variable"nixos_partitioner_attr" {
9
9
type=string
10
-
description="nixos partitioner and mount script"
10
+
description="Nixos partitioner and mount script i.e. your-flake#nixosConfigurations.your-evaluated-nixos.config.system.build.diskoNoDeps or just your-evaluated.config.system.build.diskNoDeps. `config.system.build.diskNoDeps` is provided by the disko nixos module"
11
11
}
12
12
13
13
# To make this re-usuable we maybe should accept a store path here?
14
14
variable"nixos_system_attr" {
15
15
type=string
16
-
description="The nixos system to deploy"
16
+
description="The nixos system to deploy i.e. your-flake#nixosConfigurations.your-evaluated-nixos.config.system.build.toplevel or just your-evaluated-nixos.config.system.build.toplevel if you are not using flakes"
17
17
}
18
18
19
19
variable"file" {
20
20
type=string
21
-
description="file to get the nixos_system_attr and nixos_partitioner_attr from if they are not flakes."
21
+
description="Nix file containing the nixos_system_attr and nixos_partitioner_attr. Use this if you are not using flake"
22
22
default=null
23
23
}
24
24
@@ -39,8 +39,20 @@ variable "target_port" {
39
39
default=22
40
40
}
41
41
42
+
variable"instance_id" {
43
+
type=string
44
+
description="The instance id of the target_host, used to track when to reinstall the machine"
45
+
default=null
46
+
}
47
+
42
48
variable"ssh_private_key" {
43
49
type=string
44
50
description="Content of private key used to connect to the target_host"
0 commit comments