page_title | subcategory | description |
---|---|---|
epilot-entitymapping_entity_mapping Data Source - terraform-provider-epilot-entitymapping |
EntityMapping DataSource |
EntityMapping DataSource
data "epilot-entitymapping_entity_mapping" "my_entitymapping" {
id = "70542580-2b38-4bfc-af8d-bb90102f9f47"
}
id
(String) Mapping Config Id
source
(Attributes) (see below for nested schema)targets
(Attributes List) (see below for nested schema)version
(Number)
Read-Only:
config
(Attributes) (see below for nested schema)type
(String)
Read-Only:
entity_ref
(Attributes) (see below for nested schema)journey_ref
(Attributes) (see below for nested schema)
Read-Only:
entity_id
(String) id of the source entity to be mappedentity_schema
(String) schema of the source entity
Read-Only:
journey_id
(String)
Read-Only:
allow_failure
(Boolean) Pass it as true, when you don't want failures to interrupt the mapping process.condition_mode
(String) Parsed as JSON.conditions
(String) Parsed as JSON.id
(String) Identifier for target configuration. Useful for later usages when trying to identify which target config to map to.linkback_relation_attribute
(String) Relation attribute on the main entity where the target entity will be linked. Set to false to disable linkbacklinkback_relation_tags
(List of String) Relation tags (labels) to include in main entity linkback relation attributeloop_config
(Attributes) contains config in case of running in loop mode (see below for nested schema)mapping_attributes
(Attributes List) Attribute mappings (see below for nested schema)name
(String) A name for this configurationrelation_attributes
(Attributes List) Relation mappings (see below for nested schema)target_schema
(String) Schema of target entitytarget_unique
(List of String) Unique key for target entity (see upsertEntity of Entity API)
Read-Only:
length
(Number) a hard limit of how many times the loop is allowed to run.source_path
(String) path to the array from the entity payload
Read-Only:
any
(String) Parsed as JSON.mapping_attribute
(Attributes) (see below for nested schema)
Read-Only:
append_value_mapper
(Attributes) (see below for nested schema)copy_value_mapper
(Attributes) (see below for nested schema)set_value_mapper
(Attributes) (see below for nested schema)
Read-Only:
mode
(String) - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.source
(String) JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].pricetarget
(String) JSON like target path for the attribute. Eg. last_nametarget_unique
(List of String) Array of keys which should be used when checking for uniqueness. Eg: [country, city, postal_code]value_json
(String) To be provided only when mapping json objects into a target attribute. Eg array of addresses.
Read-Only:
mode
(String) - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.source
(String) JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].pricetarget
(String) JSON like target path for the attribute. Eg. last_name
Read-Only:
mode
(String) - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.target
(String) JSON like target path for the attribute. Eg. last_namevalue
(String) Any value to be set: string, number, string[], number[], JSON object, etc. It will override existing values, if any. Parsed as JSON.
Read-Only:
mode
(String)origin
(String) Origin of an attribute.related_to
(Map of String)source_filter
(Attributes) A filter to identify which source entities to pick as relations from main entity (see below for nested schema)target
(String) Target attribute to store the relation intarget_tags
(List of String) Relation tags (labels) to set for the stored relationstarget_tags_include_source
(Boolean) Include all relation tags (labels) present on the main entity relation
Read-Only:
attribute
(String) Filter by a specific relation attribute on the main entitylimit
(Number) Limit relations to maximum number (default, all matched relations)relation_tag
(String) Filter by relation tag (label) on the main entityschema
(String) Filter by specific schemaself
(Boolean) Picks main entity as relation (overrides other filters)tag
(String) Filter by a specific tag on the related entity