Data Source: oci_core_volumes

This data source provides the list of Volumes in Oracle Cloud Infrastructure Core service.

Lists the volumes in the specified compartment and availability domain.

Example Usage

data "oci_core_volumes" "test_volumes" {

    #Optional
    availability_domain = var.volume_availability_domain
    cluster_placement_group_id = oci_identity_group.test_group.id
    compartment_id = var.compartment_id
    display_name = var.volume_display_name
    state = var.volume_state
    volume_group_id = oci_core_volume_group.test_volume_group.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Volume Reference

The following attributes are exported: