Skip to main content
Version: Latest Version (2.9.1)

highbond_strategy_factor (Resource)

Schema

Required

nameString The name of the strategy risk factor
severitiesBlock Set, Min: 2 The factor's severity levels (Should have a minimum of 2 items)
Nested Schema for `severities`

Required

nameString The name of the severity level (also shown in the assessment table on the UI)
valueString Decimal value of the severity level

Optional

descriptionString Description of the severity level

Read-Only

idString The ID of the severity level

Optional

descriptionString The description of the strategy risk factor
force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.
weightString Numeric weight of the factor

Read-Only

created_atString The timestamp identifying when the strategy factor was created
is_defaultBoolean True for the scoring factors which are automatically created
updated_atString 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
}
}