Replace hypervisor_parent/witness_parent strings with hypervisor_config and witness_config map(string) variables, matching the pattern already used by the storage module. incus_networks in the root module is updated from map(number) to map(object) carrying type and the two config maps. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
338 B
HCL
27 lines
338 B
HCL
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "type" {
|
|
type = string
|
|
default = "physical"
|
|
}
|
|
|
|
variable "hypervisors" {
|
|
type = set(string)
|
|
}
|
|
|
|
variable "witnesses" {
|
|
type = set(string)
|
|
}
|
|
|
|
variable "hypervisor_config" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "witness_config" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|