171 lines
2.9 KiB
HCL
171 lines
2.9 KiB
HCL
variable "pm_api_url" {
|
|
description = "Proxmox API URL"
|
|
type = string
|
|
}
|
|
|
|
variable "pm_api_token_id" {
|
|
description = "Proxmox API token ID (user@realm!token)"
|
|
type = string
|
|
}
|
|
|
|
variable "pm_api_token_secret" {
|
|
description = "API token secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "pm_target_node" {
|
|
description = "Proxmox node name (hostname)"
|
|
type = string
|
|
}
|
|
|
|
variable "nameserver" {
|
|
description = "DNS nameservers"
|
|
type = string
|
|
}
|
|
|
|
variable "searchdomain" {
|
|
description = "DNS searchdomain"
|
|
type = string
|
|
}
|
|
|
|
variable "netmask" {
|
|
description = "Netmask"
|
|
type = string
|
|
}
|
|
|
|
variable "gateway" {
|
|
description = "Gateway"
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_keys" {
|
|
description = "SSH Keys"
|
|
type = string
|
|
}
|
|
|
|
variable "ciuser" {
|
|
description = "Cloud-Init user"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_template_name" {
|
|
description = "Name of the VM template to clone"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_name" {
|
|
description = "VM1 name"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_ip" {
|
|
description = "VM1 IP address"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_cores" {
|
|
description = "VM1 CPU cores"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_memory" {
|
|
description = "VM1 Memory (MB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_disk_size" {
|
|
description = "VM1 Disk Size (GB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_swap_size" {
|
|
description = "VM1 Swap Size (GB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_controller" {
|
|
description = "VM1 SCSI Controller"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_disk_storage" {
|
|
description = "VM1 Disk Storage"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_net_model" {
|
|
description = "VM1 NET Model"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_net_bridge" {
|
|
description = "VM1 NET Bridge"
|
|
type = string
|
|
}
|
|
|
|
variable "vm1_state" {
|
|
description = "VM1 State"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_template_name" {
|
|
description = "Name of the VM template to clone"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_name" {
|
|
description = "VM2 name"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_ip" {
|
|
description = "VM2 IP address"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_cores" {
|
|
description = "VM2 CPU cores"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_memory" {
|
|
description = "VM2 Memory (MB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_disk_size" {
|
|
description = "VM2 Disk Size (GB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_swap_size" {
|
|
description = "VM2 Swap Size (GB)"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_controller" {
|
|
description = "VM2 SCSI Controller"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_disk_storage" {
|
|
description = "VM2 Disk Storage"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_net_model" {
|
|
description = "VM2 NET Model"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_net_bridge" {
|
|
description = "VM2 NET Bridge"
|
|
type = string
|
|
}
|
|
|
|
variable "vm2_state" {
|
|
description = "VM2 State"
|
|
type = string
|
|
}
|