83 lines
1.6 KiB
Terraform
83 lines
1.6 KiB
Terraform
variable "proxmox_host" {
|
|
description = "Proxmox API URL"
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_token_id" {
|
|
description = "Proxmox API Token ID (user@realm!tokenid)"
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_token_secret" {
|
|
description = "Proxmox API Token Secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_node" {
|
|
description = "Ziel-Proxmox-Node"
|
|
type = string
|
|
}
|
|
|
|
variable "lxc_bridge" {
|
|
description = "Netzwerk-Bridge (z.B. vmbr2)"
|
|
type = string
|
|
}
|
|
|
|
variable "lxc_ostemplate" {
|
|
description = "Pfad zum LXC-Template"
|
|
type = string
|
|
default = "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst"
|
|
}
|
|
|
|
variable "lxc_storage" {
|
|
description = "Storage fuer LXC rootfs"
|
|
type = string
|
|
default = "local-lvm"
|
|
}
|
|
|
|
variable "staging_ip" {
|
|
description = "Statische IP fuer Staging-LXC (ohne CIDR)"
|
|
type = string
|
|
default = "172.17.1.100"
|
|
}
|
|
|
|
variable "staging_gw" {
|
|
description = "Gateway fuer Staging-LXC"
|
|
type = string
|
|
default = "172.17.1.1"
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "SSH Public Key fuer deploy-User im LXC"
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_private_key" {
|
|
description = "SSH Private Key (für Provisioning)"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "root_password" {
|
|
description = "Root Password für Staging VM"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "lxc_cores" {
|
|
default = 2
|
|
}
|
|
|
|
variable "lxc_memory" {
|
|
default = 1024
|
|
}
|
|
|
|
variable "lxc_swap" {
|
|
default = 512
|
|
}
|
|
|
|
variable "lxc_rootfs" {
|
|
default = "SSD:10"
|
|
}
|