openstack_blockstorage_volume_v2

Use this data source to get information about an existing volume.

Example Usage

data "openstack_blockstorage_volume_v2" "volume_1" {
  name = "volume_1"
}

Argument Reference

Attributes Reference

id is set to the ID of the found volume. In addition, the following attributes are exported: