Files
kydah-modules/pvc/variables.tf
2024-11-08 21:09:05 +01:00

27 lines
497 B
HCL

variable "component" {
type = string
}
variable "instance" {
type = string
}
variable "namespace" {
type = string
}
variable "labels" {
type = map(string)
}
variable "storage" {
type = object({
access_mode = optional(string, "ReadWriteOnce"),
class = optional(string, ""),
size = optional(string, "2Gi"),
max_size = optional(string, "10Gi"),
type = optional(string, "Filesystem")
})
}
variable "backup" {
type = bool
default = true
}