oci_core_drg_route_distribution_statement

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

Adds one route distribution statement to the specified route distribution.

Example Usage

resource "oci_core_drg_route_distribution_statement" "test_drg_route_distribution_statement" {
	#Required
	drg_route_distribution_id = oci_core_drg_route_distribution.test_drg_route_distribution.id
	action = var.drg_route_distribution_statement_statements_action
	#Optional
	match_criteria {
	#Required
	match_type = var.drg_route_distribution_statement_statements_match_criteria_match_type

	#Optional
	attachment_type = var.drg_route_distribution_statement_statements_match_criteria_attachment_type
	drg_attachment_id = oci_core_drg_attachment.test_drg_attachment.id
	}
	priority = var.drg_route_distribution_statement_statements_priority

}

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

Import

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

$ terraform import oci_core_drg_route_distribution_statement.test_drg_route_distribution_statement "drgRouteDistributions/{drgRouteDistributionId}/statements/{id}"