exoscale_block_storage_volume (Data Source)

Fetch Exoscale Block Storage Volume.

Block Storage offers persistent externally attached volumes for your workloads.

Corresponding resource: exoscale_block_storage_volume.

Schema

Required

  • id (String) Volume ID to match.
  • zone (String) The Exoscale Zone name.

Optional

Read-Only

  • blocksize (Number) Volume block size.
  • created_at (String) Volume creation date.
  • instance (Attributes) Volume attached instance. (see below for nested schema)
  • labels (Map of String) Resource labels.
  • name (String) Volume name.
  • size (Number) Volume size in GB.
  • snapshots (Attributes Set) Volume snapshots. (see below for nested schema)
  • state (String) Volume state.

Nested Schema for timeouts

Optional:

  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

Nested Schema for instance

Read-Only:

  • id (String) Instance ID.

Nested Schema for snapshots

Read-Only:

  • id (String) Snapshot ID.