» openstack_blockstorage_snapshot_v2
Use this data source to get information about an existing snapshot.
» Example Usage
data "openstack_blockstorage_snapshot_v2" "snapshot_1" {
name = "snapshot_1"
most_recent = true
}
» Argument Reference
-
region
- (Optional) The region in which to obtain the V2 Block Storage client. If omitted, theregion
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 snapshot's volume. -
most_recent
- (Optional) Pick the most recently created snapshot if there are multiple results.
» Attributes Reference
The following attributes are exported: