variable "node_name" { type = string description = "Name of the node. This is used to fetch the corresponding token from Vault." } variable "node_addr" { type = string description = "The address of the Incus node." } variable "node_port" { type = string description = "The port Incus is listening on." default = "8443" } variable "images" { description = "A map of images to be imported on this host" type = map(object({ remote = string architecture = optional(string) })) default = {} } variable "networks" { description = "A map of networks to be imported on this host" type = map(object({ type = string config = optional(map(string)) })) default = {} } variable "profiles" { description = "A map of profiles to be imported on this host" type = map(object({ description = optional(string, null) project = optional(string, null) config = optional(map(string), {}) devices = optional(list(object({ name = string type = string properties = optional(map(string)) network = optional(string) })), []) })) default = {} } variable "storage_pools" { description = "A map of storage pools to be created on this host" type = map(object({ driver = string # Required description = optional(string, null) # Optional project = optional(string, null) # Optional config = optional(map(string), {}) # Optional })) default = {} } variable "storage_volumes" { description = "A map of storage volumes to be created on this host" type = map(object({ pool = string # Required description = optional(string, null) # Optional type = optional(string, "custom") # Optional content_type = optional(string, "filesystem") # Optional config = optional(map(string), {}) # Optional })) default = {} }