oci_core_remote_peering_connection

This resource provides the Remote Peering Connection resource in Oracle Cloud Infrastructure Core service.

Creates a new remote peering connection (RPC) for the specified DRG.

Example Usage

resource "oci_core_remote_peering_connection" "test_remote_peering_connection" {
	#Required
	compartment_id = var.compartment_id
	drg_id = oci_core_drg.test_drg.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.remote_peering_connection_display_name
	freeform_tags = {"Department"= "Finance"}
	peer_id = oci_core_remote_peering_connection.test_remote_peering_connection2.id
	peer_region_name = var.remote_peering_connection_peer_region_name
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Remote Peering Connection * update - (Defaults to 20 minutes), when updating the Remote Peering Connection * delete - (Defaults to 20 minutes), when destroying the Remote Peering Connection

Import

RemotePeeringConnections can be imported using the id, e.g.

$ terraform import oci_core_remote_peering_connection.test_remote_peering_connection "id"