nixos-anywhere/terraform/nixos-rebuild/variables.tf
2023-03-29 09:09:21 +01:00

28 lines
664 B
HCL

variable "nixos_system" {
type = string
description = "The nixos system to deploy"
}
variable "target_host" {
type = string
description = "DNS host to deploy to"
}
variable "target_user" {
type = string
default = "root"
description = "User to deploy as"
}
variable "target_port" {
type = number
description = "SSH port used to connect to the target_host"
default = 22
}
variable "ssh_private_key" {
type = string
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"
default = "-"
}