openstack_sharedfilesystem_snapshot_v2
For your information
This instruction is a copy of the official OpenStack Terraform provider documentation in the Terraform Registry.
Use this data source to retrieve the ID of an available Shared File System snapshot.
Example Usage
data "openstack_sharedfilesystem_snapshot_v2" "snapshot_1" {
name = "snapshot_1"
}
Argument Reference
-
region- (Optional) The region from which to obtain the V2 Shared File System client. -
name- (Optional) The snapshot name. -
description- (Optional) The human-readable description of the snapshot. -
project_id- (Optional) The snapshot owner. -
status- (Optional) A snapshot status filter. Valid values areavailable,error,creating,deleting,manage_starting,manage_error,unmanage_starting,unmanage_error, orerror_deleting.
Attributes Reference
id is set to the ID of the found snapshot. In addition, the following attributes are exported:
name- See Argument Reference above.description- See Argument Reference above.project_id- See Argument Reference above.status- See Argument Reference above.size- The snapshot size in GB.share_id- The UUID of the source share used to create the snapshot.share_proto- The file system protocol of the share snapshot.share_size- The share snapshot size in GB.