highbond_strategy_custom_attribute (Resource)
Schema
Required
term | String | The name of the custom attribute |
Optional
field_type | String | The data type of the custom attribute. Allowed values are 'text', 'rich_text, 'select', 'multiselect' |
force_updates | Boolean | Allows overriding top-level 'create_only' option. |
id | String | The ID of this resource. |
options | List of String | Selectable options of the values (when the field_type is select or multiselect) |
Read-Only
created_at | String | The timestamp identifying when the custom attribute was create |
updated_at | String | The timestamp identifying when the custom attribute was last updated |
Example Usage
resource "highbond_strategy_custom_attribute" "select" {
term = "Risk category select"
field_type = "select" // all possible values for field_types are: "text", "rich_text", "select", "multiselect"
options = ["Strategic", "Operational", "Compliance", "Financial & Reporting"]
}
resource "highbond_strategy_custom_attribute" "multiSelect" {
term = "Risk category multiselect"
field_type = "multiselect"
options = ["1st choice", "2nd choice", "3rd choice", "4th choice"]
}
resource "highbond_strategy_custom_attribute" "richText" {
term = "Risk Owner text test"
field_type = "rich_text"
}
resource "highbond_strategy_custom_attribute" "text" {
term = "Risk category text"
// default 'field_type' is set to 'text'
}