We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299abfb commit a4a943cCopy full SHA for a4a943c
main.tf
@@ -191,6 +191,6 @@ resource "aws_ebs_volume" "default" {
191
resource "aws_volume_attachment" "default" {
192
count = local.volume_count
193
device_name = var.ebs_device_name[count.index]
194
- volume_id = one(aws_ebs_volume.default[*].id[count.index])
+ volume_id = aws_ebs_volume.default[count.index].id
195
instance_id = one(aws_instance.default[*].id)
196
}
0 commit comments