variable "vm_host_name" {
description = "MAAS VM host (pod) name, e.g. \"dc1-vcloud\"."
type = string
}
variable "power_address" {
description = <<-EOT
The virsh/libvirt connection URI MAAS uses to reach the vcloud host, e.g.
"qemu+ssh://user@vcloud-host/system" (the exact format confirmed against
the provider's own docs/resources/vm_host.md example). MUST be measured
this session -- no default. This is the SAME libvirt endpoint OpenTofu's
own `provider "libvirt"` block connects to (D-103: OpenTofu and MAAS both
reach the vcloud host's libvirt), so it should match `var.libvirt_uri` in
the root module in practice, but is kept as its own input here rather
than silently assumed identical.
EOT
type = string
}
variable "zone" {
description = "MAAS zone name for this VM host. Optional in the provider's own schema -- null lets MAAS apply its own default rather than this module guessing one."
type = string
default = null
}
variable "pool" {
description = "MAAS resource pool name for this VM host. Optional in the provider's own schema -- null lets MAAS apply its own default rather than this module guessing one."
type = string
default = null
}