Files
tf-infra/incus/variables.tf
Guy Godfroy ad2c8145e3 Remove redundant incus_ prefix from root module variables
Rename variables to remove the useless incus_ prefix:
- incus_hypervisors → hypervisors
- incus_witnesses → witnesses
- incus_token → token
- incus_networks → networks
- incus_storage_pools → storage_pools

Updates all references across provider.tf, groups.tf, network.tf,
storage.tf, and .auto.tfvars files.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-15 14:09:20 +01:00

30 lines
546 B
HCL

variable "hypervisors" {
type = map(string)
}
variable "witnesses" {
type = map(string)
}
variable "token" {
type = string
sensitive = true
description = "The common authentication token for all Incus remotes"
}
variable "networks" {
type = map(object({
type = string
hypervisor_config = map(string)
witness_config = map(string)
}))
}
variable "storage_pools" {
type = map(object({
driver = string
hypervisor_config = map(string)
witness_config = map(string)
}))
}