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
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -51,9 +51,15 @@ variable "instance_id" {
51
51
default=null
52
52
}
53
53
54
-
variable"ssh_private_key" {
54
+
variable"install_ssh_key" {
55
55
type=string
56
-
description="Content of private key used to connect to the target_host"
56
+
description="Content of private key used to connect to the target_host during initial installation"
57
+
default=null
58
+
}
59
+
60
+
variable"deployment_ssh_key" {
61
+
type=string
62
+
description="Content of private key used to deploy to the target_host after initial installation. To ensure maximum security, it is advisable to connect to your host using ssh-agent instead of relying on this variable"
Copy file name to clipboardExpand all lines: terraform/nixos-rebuild/variables.tf
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,3 +19,9 @@ variable "target_port" {
19
19
description="SSH port used to connect to the target_host"
20
20
default=22
21
21
}
22
+
23
+
variable"ssh_private_key" {
24
+
type=string
25
+
description="Content of private key used to connect to the target_host. If set to - no key is passed to openssh and ssh will back to its own configuration"
0 commit comments