oci_load_balancer_path_route_set

This resource provides the Path Route Set resource in Oracle Cloud Infrastructure Load Balancer service.

Adds a path route set to a load balancer. For more information, see Managing Request Routing.

Example Usage

resource "oci_load_balancer_path_route_set" "test_path_route_set" {
	#Required
	load_balancer_id = oci_load_balancer_load_balancer.test_load_balancer.id
	name = var.path_route_set_name
	path_routes {
		#Required
		backend_set_name = oci_load_balancer_backend_set.test_backend_set.name
		path = var.path_route_set_path_routes_path
		path_match_type {
			#Required
			match_type = var.path_route_set_path_routes_path_match_type_match_type
		}
	}
}

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

Import

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

$ terraform import oci_load_balancer_path_route_set.test_path_route_set "loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}"