Data Source: oci_core_local_peering_gateways

This data source provides the list of Local Peering Gateways in Oracle Cloud Infrastructure Core service.

Lists the local peering gateways (LPGs) for the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment.

Example Usage

data "oci_core_local_peering_gateways" "test_local_peering_gateways" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

LocalPeeringGateway Reference

The following attributes are exported: