From a0e589a286e2d597dbe6bf34bdc9864e3b6c3ae6 Mon Sep 17 00:00:00 2001 From: dmpopof Date: Fri, 3 May 2024 23:52:02 +0300 Subject: [PATCH] add keep_on_remove param for data_disks manage keep or not data discs in case of VM destruction --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 532fd5d..8e0f599 100644 --- a/main.tf +++ b/main.tf @@ -210,6 +210,7 @@ resource "vsphere_virtual_machine" "vm" { disk_sharing = lookup(terraform_disks.value, "disk_sharing", null) attach = lookup(terraform_disks.value, "attach", null) path = lookup(terraform_disks.value, "path", null) + keep_on_remove = lookup(terraform_disks.value, "keep_on_remove", null) } } clone {