Data Source: oci_core_security_lists

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

Lists the security lists in the specified VCN and compartment. If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment.

Example Usage

data "oci_core_security_lists" "test_security_lists" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    display_name = var.security_list_display_name
    state = var.security_list_state
    vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

SecurityList Reference

The following attributes are exported: