🚨: fmt tofu
All checks were successful
terraform-lint / terraform-lint (push) Successful in 31s

This commit is contained in:
VC
2025-03-06 17:41:27 +01:00
parent 0c0a11cfd8
commit 9342c38e78
8 changed files with 331 additions and 331 deletions

View File

@@ -1,77 +1,77 @@
variable "cpu_cores" {
description = "Number of CPUs for the server"
type = number
default = 1
description = "Number of CPUs for the server"
type = number
default = 1
}
variable "start_on_boot" {
description = "Shall the VM start at boot?"
type= bool
default = false
description = "Shall the VM start at boot?"
type = bool
default = false
}
variable "memory_dedicated" {
description = "RAM quantity"
type = number
default = 256
description = "RAM quantity"
type = number
default = 256
}
variable "server_name" {
description = "Name of the server"
type = string
description = "Name of the server"
type = string
}
variable "server_desc" {
description = "Description of the server"
type = string
description = "Description of the server"
type = string
}
variable "tags" {
description = "Tags to be associated to the VM"
type = list(string)
default = []
description = "Tags to be associated to the VM"
type = list(string)
default = []
}
variable "features" {
description = "Proxmox Container Features"
type = object({
nesting = bool
fuse = bool
keyctl = bool
mount = list(string)
})
default = {
nesting = true
fuse = null
keyctl = null
mount = null
}
description = "Proxmox Container Features"
type = object({
nesting = bool
fuse = bool
keyctl = bool
mount = list(string)
})
default = {
nesting = true
fuse = null
keyctl = null
mount = null
}
}
variable "unprivileged" {
description = "Unprivileged LXC container"
type = bool
default = true
description = "Unprivileged LXC container"
type = bool
default = true
}
variable "ip_suffix" {
description = "IP suffix"
type = number
description = "IP suffix"
type = number
}
variable "disk" {
description = "Size and type of disk"
type = list(object({
path = string
size = string
}))
default = []
description = "Size and type of disk"
type = list(object({
path = string
size = string
}))
default = []
}
variable "debian_tmpl" {
description = "Debian template to use"
type = string
default = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
## other possible value
# "local:vztmpl/debian-11-standard_11.7-1_amd64.tar.zst"
description = "Debian template to use"
type = string
default = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
## other possible value
# "local:vztmpl/debian-11-standard_11.7-1_amd64.tar.zst"
}