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