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
}
record_attributes (Block List, Min: 1) An array of asset attributes defined for the asset type (see below for nested schema)record_type_id (String) The ID of the asset record typeforce_updates (Boolean) Allows overriding top-level 'create_only' option.id (String) The ID of this resource.record_attributesRequired:
field_name (String) The field_name of the asset attributeOptional:
relationship_value (Block List) The value of relationship attribute (see below for nested schema)userlookup_value (Block List) The value of user lookup attribute (see below for nested schema)value (List of String) The value of asset attribute.Value varies depending on the type of attributerecord_attributes.relationship_valueRequired:
id (String) The instance of the class for the parent objectobject_type_id (String) The class that defines the instance for the parent objectrecord_attributes.userlookup_valueOptional:
group_ids (List of String) The UUID of groupuser_ids (List of String) The UUID of user