terraform-incus/modules/storage_pool/variables.tf
Ben Vincent cb67816eee feat: initial commit
- have been working on this for some time now
2025-05-30 22:36:55 +10:00

32 lines
871 B
HCL

variable "name" {
description = "Name of the storage pool."
type = string
}
variable "driver" {
description = "Storage Pool driver. Must be one of dir, zfs, lvm, btrfs, ceph, cephfs, or cephobject."
type = string
validation {
condition = contains(["dir", "zfs", "lvm", "btrfs", "ceph", "cephfs", "cephobject"], var.driver)
error_message = "Invalid driver. Must be one of: dir, zfs, lvm, btrfs, ceph, cephfs, or cephobject."
}
}
variable "description" {
description = "Description of the storage pool."
type = string
default = null
}
variable "config" {
description = "Map of key/value pairs for storage pool config."
type = map(string)
default = {}
}
variable "project" {
description = "Name of the project where the storage pool will be stored."
type = string
default = null
}