You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
resource "aws_volume_attachment" "mount-volume" {
|
|
device_name = "/dev/sd${element(var.drive-letters, count.index)}"
|
|
instance_id = var.ec2-id
|
|
count = length(var.disks)
|
|
volume_id = element(var.disks, count.index).id
|
|
}
|