27 lines
407 B
HCL
27 lines
407 B
HCL
variable "home_dir" {
|
|
type = string
|
|
default = "/home/jv"
|
|
}
|
|
|
|
variable "ssh_key_path" {
|
|
type = string
|
|
default = "/home/jv/.ssh/id_ed25519"
|
|
}
|
|
|
|
variable "nodes" {
|
|
type = map(object({
|
|
ip = string
|
|
user = string
|
|
}))
|
|
default = {
|
|
raspberrypi = {
|
|
ip = "192.168.100.89"
|
|
user = "jv"
|
|
}
|
|
debian_laptop = {
|
|
ip = "192.168.100.68"
|
|
user = "jv"
|
|
}
|
|
}
|
|
}
|