highbond_strategy_factor (Resource)
Schema
Required
name | String | The name of the strategy risk factor | ||||||||||||
severities | Block Set, Min: 2 | The factor's severity levels (Should have a minimum of 2 items) | ||||||||||||
Nested Schema for `severities`Required
Optional
Read-Only
|
Optional
description | String | The description of the strategy risk factor |
force_updates | Boolean | Allows overriding top-level 'create_only' option. |
id | String | The ID of this resource. |
weight | String | Numeric weight of the factor |
Read-Only
created_at | String | The timestamp identifying when the strategy factor was created |
is_default | Boolean | True for the scoring factors which are automatically created |
updated_at | String | The timestamp identifying when the strategy factor was last updated |
Example Usage
resource "highbond_strategy_factor" "factor" {
name = "testFactor"
// The default value assigned to the "weight" is "1.0."
severities { // Must contain at least two items.
name = "level 1"
value = 1
}
severities {
name = "level 2"
value = 2
}
}
resource "highbond_strategy_factor" "factor1" {
name = "testFactor1"
description = "testFactor"
weight = "1.3"
severities {
name = "level 1"
description = "test 1"
value = 1
}
severities {
name = "level 2"
description = "test 2"
value = 2
}
severities {
name = "level 3"
description = "test 3"
value = 3
}
severities {
name = "level 4"
description = "test 4"
value = 4
}
}