Skip to content

Commit

Permalink
Examples: expect volume ids as list of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
moio committed Oct 27, 2016
1 parent dbc08de commit e78f223
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/count/libvirt.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ resource "libvirt_volume" "volume" {

resource "libvirt_domain" "domain" {
name = "domain-${count.index}"
disk {
volume_id = "${element(libvirt_volume.volume.*.id, count.index)}"
}
volume_ids = ["${element(libvirt_volume.volume.*.id, count.index)}"]
count = 4
}

0 comments on commit e78f223

Please sign in to comment.