oci_core_drg_route_table_route_rule

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

Adds one static route rule to the specified DRG route table.

Example Usage

resource "oci_core_drg_route_table_route_rule" "test_drg_route_table_route_rule" {
	#Required
	drg_route_table_id = oci_core_drg_route_table.test_drg_route_table.id
	destination = var.drg_route_table_route_rule_route_rules_destination
	destination_type = var.drg_route_table_route_rule_route_rules_destination_type
	next_hop_drg_attachment_id = oci_core_drg_attachment.test_drg_attachment.id

}

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

Import

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

$ terraform import oci_core_drg_route_table_route_rule.test_drg_route_table_route_rule "drgRouteTables/{drgRouteTableId}/routeRules/{id}"