Skip to main content

openstack_blockstorage_snapshot_v3

Last update:
For your information

This instruction is a copy of the official OpenStack Terraform provider documentation from the Terraform Registry.

Use this data source to retrieve information about an existing volume snapshot.

Example Usage

data "openstack_blockstorage_snapshot_v3" "snapshot_1" {
name = "snapshot_1"
most_recent = true
}

Argument Reference

  • region - (Optional) The region in which to obtain the V3 Block Storage client. If omitted, the region argument of the provider is used.

  • name - (Optional) The name of the snapshot.

  • status - (Optional) The status of the snapshot.

  • volume_id - (Optional) The ID of the volume associated with the snapshot.

  • most_recent - (Optional) Pick the most recently created snapshot if there are multiple results.

Attributes Reference

The following attributes are exported:

  • region - See Argument Reference above.
  • name - See Argument Reference above.
  • status - See Argument Reference above.
  • volume_id - See Argument Reference above.
  • description - The snapshot description.
  • size - The snapshot size.
  • metadata - The snapshot metadata.