Files
a13labs.infra/terraform/modules/apps/samba/variables.tf
T

40 lines
999 B
Terraform
Raw Normal View History

2025-06-06 23:49:38 +02:00
variable "tag" {
description = "The version of app to install"
type = string
default = "latest"
}
variable "shares" {
2025-06-06 23:49:38 +02:00
description = "Path to the shared folder on the host"
type = list(object({
name = string
path = string
comment = string
valid_users = optional(list(string), ["@smb"])
browseable = optional(bool, true)
writable = optional(bool, true)
read_only = optional(bool, false)
force_user = optional(string, "root")
force_group = optional(string, "root")
}))
2025-06-06 23:49:38 +02:00
}
variable "samba_username" {
description = "Username for Samba access"
type = string
default = "samba"
}
variable "samba_password" {
description = "Password for Samba access"
type = string
default = "samba"
sensitive = true
}
variable "host_port_enabled" {
description = "Enable hostPort for SMB ports (445 and 139). Useful for direct access on the node IP."
type = bool
default = false
}