resource "highbond_asset" "main" {
asset_type_id = highbond_asset_type.main.id
asset_attributes {
field_name = highbond_attribute_type.text.field_name
value = ["test"]
}
asset_attributes {
field_name = highbond_attribute_type.number.field_name
value = ["10"]
}
asset_attributes {
field_name = highbond_attribute_type.userLookup.field_name
userlookup_value {
user_ids = ["n8B9b6hgEwrJJrvWnh3t", "dEsLN2SaS1NwYscEKBFY"]
group_ids = ["45954", "45964"]
}
}
force_updates = true // Create only with force update changes
}
asset_attributes
(Block List, Min: 1) An array of asset attributes defined for the asset type (see below for nested schema)asset_type_id
(String) The ID of the asset typeforce_updates
(Boolean) Allows overriding top-level 'create_only' option.id
(String) The ID of this resource.asset_attributes
Required:
field_name
(String) The field_name of the asset attributeOptional:
userlookup_value
(Block List) The value of asset attribute (see below for nested schema)value
(List of String) The value of asset attribute.Value varies depending on the type of attributeasset_attributes.userlookup_value
Optional:
group_ids
(List of String) The UUID of groupuser_ids
(List of String) The UUID of user