Data Source: oci_core_internet_gateways

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

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

Example Usage

data "oci_core_internet_gateways" "test_internet_gateways" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.internet_gateway_display_name
	state = var.internet_gateway_state
	vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

InternetGateway Reference

The following attributes are exported: