Fixed module
This commit is contained in:
parent
2f676b6130
commit
8c0c3fbd78
|
@ -59,6 +59,6 @@ resource "openstack_compute_volume_attach_v2" "attach_volume" {
|
|||
for_each = var.instances_with_data_volume_map
|
||||
instance_id = openstack_compute_instance_v2.instance_with_data_volume[each.key].id
|
||||
volume_id = openstack_blockstorage_volume_v3.instance_data_volume[each.key].id
|
||||
device = var.each.value.volume.device
|
||||
device = each.value.volume.device
|
||||
depends_on = [openstack_compute_instance_v2.instance_with_data_volume]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue