Skip to content

Commit 73b4850

Browse files
committed
fix(instance): Restart VSI while updating secure boot
1 parent 2ba7d35 commit 73b4850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ibm/service/vpc/resource_ibm_is_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6765,6 +6765,7 @@ func instanceUpdate(d *schema.ResourceData, meta interface{}) error {
67656765
}
67666766
if _, ok := d.GetOkExists("enable_secure_boot"); ok && d.HasChange("enable_secure_boot") {
67676767
instancePatchModel.EnableSecureBoot = core.BoolPtr(d.Get("enable_secure_boot").(bool))
6768+
restartNeeded = true
67686769
}
67696770
if d.HasChange("name") {
67706771
instancePatchModel.Name = &name

0 commit comments

Comments
 (0)