27 lines
497 B
HCL
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
|
|
}
|