resource "highbond_erm_objective_dynamic" "example_objective" {
name = "Test Objective 1"
description = "This is a test objective created for example purposes."
objective_id = "objective_001"
# The `owner_user_id` and `owner_groups_id` fields are subject to API validations that depend on organization-level configurations. Some organizations only allow a single user ID and do not accept group IDs. This behavior can be confirmed through the `/schema` API.
owner_user_id = ["UxZMvGmx97evS5ss_SKH"]
owner_groups_id = ["10714", "10715", "14959"]
goal = "Test Goal"
start_date = "2025-12-31T00:00:00.000Z"
end_date = "2025-12-31T23:59:59.999Z"
metric = "Test Metric"
org_units = ["PZYxxzsk79G", "GkPKkvBb3bU"]
custom_attributes {
type = "text"
name = "c-custom_text_attribute__c"
data = "example text value"
}
custom_attributes {
type = "select"
name = "c-custom_select_attribute__c"
data = jsonencode({ id = "ffd77e19-af0d-40c1-8bbd-9aee25ae659a", name = "Option A" })
}
custom_attributes {
type = "boolean"
name = "c-custom_boolean_attribute__c"
data = "true"
}
custom_attributes {
type = "userLookup"
name = "c-custom_user_lookup_attribute__c"
data = jsonencode({
users = [{ id = "UxZMvGmx97evS5ss_SKH" }]
groups = []
})
}
custom_attributes {
type = "dateTime"
name = "c-custom_date_attribute__c"
data = "2026-03-05T00:00:00.000Z"
}
}
name (String) The name of the objectivecustom_attributes (Block List) Custom attributes for this ERM resource. Each block requires type, name, and data fields. (see below for nested schema)description (String) Narrative description of the objectiveend_date (String) The end date of the objectiveforce_updates (Boolean) Allows overriding top-level 'create_only' option.goal (String) The Goal statementmetric (String) The Metric or measurement definition of the objectiveobjective_id (String) External or human-friendly identifier (legacy reference)org_units (Set of String) Organizational units associated with the objectiveowner_groups_id (Set of String) Array of responsible group IDsowner_user_id (Set of String) Array of responsible person IDsstart_date (String) The start date of the objectivecreated_at (String) The date the objective was createdid (String) The ID of this resource.updated_at (String) The date the objective was updatedcustom_attributesRequired:
data (String) The attribute value as a string. For scalar types use plain values. For structured types (select, userLookup) use a JSON string matching the API schema.name (String) The attribute name as defined in the schematype (String) The attribute type (e.g. text, paragraph, number, boolean, dateTime, select, nonUniqueSelect, userLookup, relationship)