Skip to content

Commit

Permalink
Destory and Re-create Instance in case of disk-image update (#219)
Browse files Browse the repository at this point in the history
* forceNew on diskImg
  • Loading branch information
uzaxirr committed Jun 18, 2024
1 parent 94dedc6 commit 407ade6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions civo/instances/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 407ade6

Please sign in to comment.