root_block_device requires an index

bmm/custom-condition-docs-fix
Brian McClain 2 years ago
parent 7748a23c1e
commit 670bcb0cb1

@ -163,7 +163,7 @@ data "aws_ebs_volume" "example" {
filter {
name = "volume-id"
values = [aws_instance.example.root_block_device.volume_id]
values = [aws_instance.example.root_block_device[0].volume_id]
}
# Whenever a data resource is verifying the result of a managed resource

Loading…
Cancel
Save