From d8cdca76a9c668646f4e72cd38d98f3d09ad1287 Mon Sep 17 00:00:00 2001 From: 4censord Date: Sat, 26 Mar 2022 13:14:59 +0100 Subject: [PATCH] Make disks optional in VM resource --- xoa/resource_xenorchestra_vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xoa/resource_xenorchestra_vm.go b/xoa/resource_xenorchestra_vm.go index d0a32a41..513e8461 100644 --- a/xoa/resource_xenorchestra_vm.go +++ b/xoa/resource_xenorchestra_vm.go @@ -267,7 +267,7 @@ func resourceVmSchema() map[string]*schema.Schema { }, "disk": &schema.Schema{ Type: schema.TypeList, - Required: true, + Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "sr_id": &schema.Schema{