Skip to content

Commit 2ebfd32

Browse files
committed
remove the flattening override for guest_os_features
1 parent 8c9f44b commit 2ebfd32

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mmv1/third_party/terraform/services/compute/resource_compute_instance.go.tmpl

-5
Original file line numberDiff line numberDiff line change
@@ -3379,11 +3379,6 @@ func flattenBootDisk(d *schema.ResourceData, disk *compute.AttachedDisk, config
33793379
{{"}}"}}
33803380
}
33813381

3382-
//nil until set by the user not to cause any diffs and force a new VM
3383-
if d.Get("boot_disk.0.guest_os_features") == "" || d.Get("boot_disk.0.guest_os_features") == nil {
3384-
diskDetails.GuestOsFeatures = nil
3385-
}
3386-
33873382
if disk.DiskEncryptionKey != nil {
33883383
if disk.DiskEncryptionKey.Sha256 != "" {
33893384
result["disk_encryption_key_sha256"] = disk.DiskEncryptionKey.Sha256

0 commit comments

Comments
 (0)