Skip to content
Snippets Groups Projects
Commit 50f4d7ab authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

test-attaching volumes manually instead of for loop

parent e7fa6778
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ resource "openstack_compute_volume_attach_v2" "volume_attach" {
}
output "xdmod_instance_id" {
value = [for instance in openstack_compute_instance_v2.ohpc : instance.id]
value = openstack_compute_instance_v2.ohpc[0].id
}
output "ssh_host" {
......@@ -80,5 +80,8 @@ output "ssh_host" {
}
output "device" {
value = [for volume in openstack_compute_volume_attach_v2.volume_attach : volume.device]
value = [
openstack_compute_volume_attach_v2.volume_attach[0].device,
openstack_compute_volume_attach_v2.volume_attach[1].device,
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment