Opinionated.tf/docker/volume/inputs.tf

31 lines
No EOL
716 B
HCL

variable "stack_name" {
description = "The name of the collective stack"
type = string
}
variable "volume_name" {
description = "The name of the volume"
type = string
}
variable "volume_name_explicit" {
description = "Disable the automatic volume name mangling."
type = bool
default = false
}
variable "labels" {
type = map(string)
default = {}
description = "A map of labels to apply to the volume."
}
variable "bind_path" {
type = string
default = null
description = "The path to bind the volume to, optionally."
}
variable "driver" {
type = string
default = "local"
}
variable "driver_opts" {
type = map(string)
default = {}
}