dtcloud_volume_snapshots (Data Source)
Lists the snapshots taken of one volume.
Read-only on purpose: snapshots are managed by dtcloud_snapshot, and creating one here would put two
resources in charge of the same object. What this is for is seeing what a destroy would take with
it, since deleting a volume deletes its snapshots too.
Example Usage
data "dtcloud_volume_snapshots" "of_data_volume" {
volume_id = dtcloud_volume.data.id
}
Schema
Required
volume_id(String) ID of the volume whose snapshots to list.