diff --git a/terraform/variables.tf b/terraform/variables.tf index bb763b5..bf3569c 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -1,27 +1,30 @@ -variable "pve_endpoint" { type = string } -variable "pve_token_id" { type = string } +variable "pve_endpoint" { + type = string +} + +variable "pve_token_id" { + type = string +} + variable "pve_token_secret" { type = string sensitive = true } -# Infrastructure Settings -variable "target_node" { - type = string - default = "pve1" +variable "lxc_inventory" { + type = map(object({ + node = string + hostname = string + disk_size = string + cores = number + memory = number + vlan = number + ip = string + gw = string + })) } -variable "lxc_id" { - type = number - description = "The ID of the new LXC (e.g., 201)" -} - -variable "source_template_id" { - type = number - default = 9000 - description = "The ID of your Golden Image" -} - -variable "lxc_hostname" { - type = string +variable "lxc_root_password" { + type = string + sensitive = true } \ No newline at end of file