From 9cdbf83b4af6cd6424c1e6ff3de3cc7ab403f1fa Mon Sep 17 00:00:00 2001 From: Tim Unkrig Date: Fri, 27 Oct 2023 14:25:23 +0200 Subject: [PATCH] added discard option to devops vm --- infrastructure/devops.tf | 1 + infrastructure/infra.tf | 2 +- infrastructure/service.tf | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/infrastructure/devops.tf b/infrastructure/devops.tf index 6cc4c05..3f78d30 100644 --- a/infrastructure/devops.tf +++ b/infrastructure/devops.tf @@ -37,6 +37,7 @@ resource "proxmox_virtual_environment_vm" "devops" { datastore_id = "local" size = 30 ssd = true + discard = "ignore" iothread = true interface = "scsi0" } diff --git a/infrastructure/infra.tf b/infrastructure/infra.tf index 860f4c9..d9533f1 100644 --- a/infrastructure/infra.tf +++ b/infrastructure/infra.tf @@ -35,7 +35,7 @@ resource "proxmox_virtual_environment_vm" "infra" { disk { datastore_id = "local" - size = 50 + size = 30 ssd = true discard = "ignore" iothread = true diff --git a/infrastructure/service.tf b/infrastructure/service.tf index 4965cbd..111fffb 100644 --- a/infrastructure/service.tf +++ b/infrastructure/service.tf @@ -3,8 +3,8 @@ resource "proxmox_virtual_environment_vm" "services" { acpi = true vm_id = "114" machine = "q35" - # name = "services" - # node_name = "proxmox" + name = "services" + node_name = "proxmox" scsi_hardware = "virtio-scsi-pci" started = true tablet_device = false