» openstack_sharedfilesystem_share_v2

Use this data source to get the ID of an available Shared File System share.

» Example Usage

data "openstack_sharedfilesystem_share_v2" "share_1" {
  name = "share_1"
}

» Argument Reference

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

  • description - (Optional) The human-readable description for the share.

  • project_id - (Optional) The owner of the share.

  • snapshot_id - (Optional) The UUID of the share's base snapshot.

  • share_network_id - (Optional) The UUID of the share's share network.

  • export_location_path - (Optional) The export location path of the share. Available since Manila API version 2.35.

  • metadata - (Optional) One or more metadata key and value pairs as a dictionary of strings.

  • status - (Optional) A share status filter. A valid value is creating, error, available, deleting, error_deleting, manage_starting, manage_error, unmanage_starting, unmanage_error, unmanaged, extending, extending_error, shrinking, shrinking_error, or shrinking_possible_data_loss_error.

  • is_public - (Optional) The level of visibility for the share. length.

» Attributes Reference

id is set to the ID of the found share. In addition, the following attributes are exported: