From 407ade6da7fedc9eb46c049f0422607a90459a62 Mon Sep 17 00:00:00 2001 From: Uzair Ali <72073401+uzaxirr@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:00:51 +0530 Subject: [PATCH] Destory and Re-create Instance in case of disk-image update (#219) * forceNew on diskImg --- civo/instances/resource_instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/civo/instances/resource_instance.go b/civo/instances/resource_instance.go index c607daf..b66231d 100644 --- a/civo/instances/resource_instance.go +++ b/civo/instances/resource_instance.go @@ -71,6 +71,7 @@ func ResourceInstance() *schema.Resource { Computed: true, ExactlyOneOf: []string{"template", "disk_image"}, Description: "The ID for the disk image to use to build the instance", + ForceNew: true, }, "initial_user": { Type: schema.TypeString,