Data Source: oci_core_vcns

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

Lists the virtual cloud networks (VCNs) in the specified compartment.

Supported Aliases

Example Usage

data "oci_core_vcns" "test_vcns" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.vcn_display_name
	state = var.vcn_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Vcn Reference

The following attributes are exported: