Skip to main content
Version: Latest Version (2.9.1)

highbond_asset_record (Resource)

Schema

Required

record_attributesBlock List, Min: 1 An array of asset attributes defined for the asset type
Nested Schema for `record_attributes`

Required

field_nameString The field_name of the asset attribute

Optional

relationship_valueBlock List The value of relationship attribute
Nested Schema for `record_attributes.relationship_value`

Required

idString The instance of the class for the parent object
object_type_idString The class that defines the instance for the parent object
userlookup_valueBlock List The value of user lookup attribute
Nested Schema for `record_attributes.userlookup_value`

Optional

group_idsList of String The UUID of group
user_idsList of String The UUID of user
valueList of String The value of asset attribute.Value varies depending on the type of attribute
record_type_idString The ID of the asset record type

Optional

force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.

Example Usage

resource "highbond_asset_record" "main" {
record_type_id = highbond_asset_record_type.main.id
record_attributes {
field_name = highbond_attribute_type.text.field_name
value = ["Test text"]
}
record_attributes {
field_name = highbond_attribute_type.userLookup.field_name
userlookup_value {
user_ids = ["n8B9b6hgEwrJJrvWnh3t"]
group_ids = []
}
}
record_attributes {
field_name = "parent"
relationship_value {
id = highbond_asset.main.id
object_type_id = highbond_asset_type.main.id
}
}
force_updates = true // Create only with force update changes
}