@@ -12,6 +12,7 @@ A [Terraform][1] plugin for managing [FortiADC][2].
1212 * [ ` fortiadc_loadbalance_pool_member ` ] ( #fortiadc_loadbalance_pool_member )
1313 * [ ` fortiadc_loadbalance_virtual_server ` ] ( #fortiadc_loadbalance_virtual_server )
1414 * [ ` fortiadc_loadbalance_content_routing ` ] ( #fortiadc_loadbalance_content_routing )
15+ * [ ` fortiadc_loadbalance_content_routing_condition ` ] ( #fortiadc_loadbalance_content_routing_condition )
1516* [ Requirements] ( #requirements )
1617
1718## Installation
@@ -250,6 +251,50 @@ resource "fortiadc_loadbalance_content_routing" "mycr" {
250251| ` id ` | Content routing Mkey |
251252
252253
254+ ### ` fortiadc_loadbalance_content_routing_condition `
255+
256+ A resource for managing content routing condition.
257+
258+ #### Example
259+
260+ ``` hcl
261+ resource "fortiadc_loadbalance_pool" "mypool" {
262+ name = "mypool"
263+ healtcheck_enable = true
264+ healtcheck_list = ["LB_HLTHCK_HTTP", "LB_HLTHCK_HTTPS"]
265+ }
266+
267+ resource "fortiadc_loadbalance_content_routing" "mycr" {
268+ name = "mycr"
269+ pool = "${fortiadc_loadbalance_pool.mypool.name}"
270+ }
271+
272+ resource "fortiadc_loadbalance_content_routing_condition" "mycrcond" {
273+ content_routing = "${fortiadc_loadbalance_content_routing.mycr.name}"
274+ object = "http-request-url"
275+ type = "string"
276+ content = "myvhost.domain.loc"
277+ }
278+ ```
279+
280+ #### Arguments
281+
282+ | Property | Description | Type | Required | Default |
283+ | ---------------- | ----------------------- | ------- | ----------- | ---------- |
284+ | ` content_routing ` | Parent content routing name | String | true | |
285+ | ` object ` | Matching object type (ex: http-host-header) | String | true | |
286+ | ` type ` | Matching comparison (ex: string) | String | true | |
287+ | ` content ` | Matching content | String | true | |
288+ | ` reverse ` | Enable reverse | Bool | false | ` false ` |
289+
290+
291+ #### Attributes
292+
293+ | Property | Description |
294+ | ---------------- | ----------------------- |
295+ | ` id ` | Content routing condition Mkey |
296+
297+
253298## Requirements
254299* FortiADC == 4.8.x
255300
0 commit comments