diff options
| author | EnricoGuccii <partyka.003@proton.me> | 2026-05-31 21:56:56 +0200 |
|---|---|---|
| committer | EnricoGuccii <partyka.003@proton.me> | 2026-05-31 21:56:56 +0200 |
| commit | 1b883498b31c06447e122430f5c7d2786dd8cedf (patch) | |
| tree | e12ce1768c584f83f8af113a43efd4be121bcd86 /terraform/variables.tf | |
| parent | c93ac39447ba751be0a9817191f6636f10fbefc9 (diff) | |
terraform: works
Diffstat (limited to 'terraform/variables.tf')
| -rw-r--r-- | terraform/variables.tf | 45 |
1 files changed, 45 insertions, 0 deletions
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 +} |