From 2e669114392c56af9e56b9a86e7d94f9acd5bc37 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 10 Dec 2022 20:18:13 +0000 Subject: [PATCH] Update terraform/variables.tf, terraform/main.tf --- terraform/main.tf | 2 +- terraform/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 58f3ad1..fc4fd3f 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -20,7 +20,7 @@ resource "proxmox_vm_qemu" "k3master" { boot = "c" onboot = true disk { - size = var.k3master.drive[count.index] + size = var.k3master.drive type = "scsi" storage = var.k3master.storage ssd = 1 diff --git a/terraform/variables.tf b/terraform/variables.tf index 1c1e095..ca36c10 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -31,7 +31,7 @@ variable "k3master" { name = list(string) cores = number memory = number - drive = list(string) + drive = string storage = string template = list(string) node = list(string)