From 7a244cb577aa2445265cc502b4cb311748f82667 Mon Sep 17 00:00:00 2001 From: Dom Del Nano Date: Mon, 18 Mar 2024 21:34:04 -0700 Subject: [PATCH] Fix issue with failing test Signed-off-by: Dom Del Nano --- xoa/resource_xenorchestra_vm.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xoa/resource_xenorchestra_vm.go b/xoa/resource_xenorchestra_vm.go index b990c41..7a68087 100644 --- a/xoa/resource_xenorchestra_vm.go +++ b/xoa/resource_xenorchestra_vm.go @@ -352,10 +352,11 @@ $ xo-cli xo.getAllObjects filter='json:{"id": "cf7b5d7d-3cd5-6b7c-5025-5c935c8cd }, }, "expected_ip_cidr": &schema.Schema{ - Type: schema.TypeString, - Default: "", - Description: "Whether terraform should wait until IP addresses are present on the VM's network interfaces before considering it created. This only works if guest-tools are installed in the VM. Defaults to false.", - Optional: true, + Type: schema.TypeString, + Default: "", + Description: "Whether terraform should wait until IP addresses are present on the VM's network interfaces before considering it created. This only works if guest-tools are installed in the VM. Defaults to false.", + Optional: true, + DiffSuppressFunc: suppressAttachedDiffWhenHalted, }, }, },