oci_core_drg_route_table

This resource provides the Drg Route Table resource in Oracle Cloud Infrastructure Core service.

Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment using the UpdateDrgAttachment or CreateDrgAttachment operations.

Example Usage

resource "oci_core_drg_route_table" "test_drg_route_table" {
	#Required
	drg_id = oci_core_drg.test_drg.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.drg_route_table_display_name
	freeform_tags = {"Department"= "Finance"}
	import_drg_route_distribution_id = oci_core_drg_route_distribution.test_drg_route_distribution.id
	is_ecmp_enabled = var.drg_route_table_is_ecmp_enabled
}

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 Drg Route Table * update - (Defaults to 20 minutes), when updating the Drg Route Table * delete - (Defaults to 20 minutes), when destroying the Drg Route Table

Import

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

$ terraform import oci_core_drg_route_table.test_drg_route_table "id"