34 lines
753 B
HCL
34 lines
753 B
HCL
variable "name" {
|
|
description = "Name of the storage volume."
|
|
type = string
|
|
}
|
|
|
|
variable "pool" {
|
|
description = "Name of storage pool to host the volume."
|
|
type = string
|
|
}
|
|
|
|
variable "description" {
|
|
description = "Description of the volume."
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "type" {
|
|
description = "The 'type' of volume. Default is 'custom'."
|
|
type = string
|
|
default = "custom"
|
|
}
|
|
|
|
variable "content_type" {
|
|
description = "Volume content type. Either 'filesystem' or 'block'."
|
|
type = string
|
|
default = "filesystem"
|
|
}
|
|
|
|
variable "config" {
|
|
description = "Map of key/value pairs of volume config settings. Varies by storage pool."
|
|
type = map(string)
|
|
default = {}
|
|
}
|