diff --git a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go index 0bd246619..33d2e6d7e 100644 --- a/builtin/providers/openstack/resource_openstack_compute_instance_v2.go +++ b/builtin/providers/openstack/resource_openstack_compute_instance_v2.go @@ -391,8 +391,8 @@ func resourceComputeInstanceV2Create(d *schema.ResourceData, meta interface{}) e if vL, ok := d.GetOk("block_device"); ok { blockDevices := resourceInstanceBlockDevicesV2(d, vL.([]interface{})) createOpts = &bootfromvolume.CreateOptsExt{ - createOpts, - blockDevices, + CreateOptsBuilder: createOpts, + BlockDevice: blockDevices, } }