From 1b883498b31c06447e122430f5c7d2786dd8cedf Mon Sep 17 00:00:00 2001 From: EnricoGuccii Date: Sun, 31 May 2026 21:56:56 +0200 Subject: terraform: works --- terraform/variables.tf | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'terraform/variables.tf') diff --git a/terraform/variables.tf b/terraform/variables.tf index e69de29..6610f25 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -0,0 +1,45 @@ +# Proxmox API + +variable "proxmox_endpoint" { + description = "Adres API Proxmox" + type = string + default = "https://pve:8006/api2/json" +} + +variable "proxmox_api_token" { + description = "API Token user@realm!token=secret" + type = string + sensitive = true +} + + +# Node + +variable "node_name" { + description = "Nazwa node Proxmox" + type = string + default = "pve" +} + + +# LXC + +variable "lxc_id" { + type = number + default = 200 +} + +variable "lxc_name" { + type = string + default = "terraform-lxc" +} + +variable "lxc_memory" { + type = number + default = 1024 +} + +variable "lxc_cores" { + type = number + default = 1 +} -- cgit v1.2.3