Provides block storage volumes that can be attached to Vultr instances for additional storage capacity
Get information about a Vultr block storage subscription.
Get the information for a block storage subscription by label:
data "vultr_block_storage" "my_block_storage" {
filter {
name = "label"
values = ["my-block-storage-label"]
}
}
The following arguments are supported:
filter - (Required) Query parameters for finding block storage subscriptions.The filter block supports the following:
name - Attribute name to filter with.values - One or more values filter with.The following attributes are exported:
label - The label of the block storage subscription.cost - The cost per month of the block storage subscription in USD.status - The status of the block storage subscription.size_gb - The size of the block storage subscription in GB.region - The region ID of the block storage subscription.attached_to_instance - The ID of the VPS the block storage subscription is attached to.date_created - The date the block storage subscription was added to your Vultr account.mount_id - An ID associated with the instance, when mounted the ID can be found in /dev/disk/by-id prefixed with virtio.block_type - The type of block storage volume.