mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
not saved file
This commit is contained in:
@ -33,16 +33,22 @@ variable "node_name" {
|
|||||||
default = "fenix"
|
default = "fenix"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "proxmox_VM_username"
|
# Lista de VMs (override de valores específicos)
|
||||||
{
|
variable "proxmox_k8s_vms" {
|
||||||
description = "Proxmox VM user name"
|
type = list(object({
|
||||||
type = string
|
name = string
|
||||||
sensitive = true
|
vm_id = number
|
||||||
}
|
node_name = string
|
||||||
|
ip = string
|
||||||
variable "proxmox_VM_password"
|
cores = optional(number)
|
||||||
{
|
memory = optional(number)
|
||||||
description = "Proxmox VM password"
|
disk_size = optional(number)
|
||||||
type = string
|
extra_users = optional(list(object({
|
||||||
sensitive = true
|
name = string
|
||||||
|
password = string
|
||||||
|
groups = list(string)
|
||||||
|
})))
|
||||||
|
extra_packages = optional(list(string))
|
||||||
|
extra_runcmd = optional(list(string))
|
||||||
|
}))
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user