Name of the deployment preview error
Element needs to be referred from its parent
Sample error message
To add this ticket_field__custom_field_options, please make sure zendesk.ticket_field__custom_field_options.instance.o1 is included in 'zendesk.ticket_field.instance.tf1
When will I see this deployment preview error?
Certain Zendesk configuration elements must be referenced from their parents (see the full list of parent-child pairs below).
This error occurs when attempting to deploy a child instance that is not referenced by its parent.
Full list of parent-child pairs:
Parent | Child |
dynamic_content_item | dynamic_content_item__variants |
article | article_translation |
article | article_attachment |
business_hours_schedule | business_hours_schedule_holiday |
ticket_field | ticket_field__custom_field_options |
user_field | user_field__custom_field_options |
organization_field | organization_field__custom_field_options |
routing_attribute | routing_attribute_value |
section | section_translation |
category | category_translation |
custom_object | custom_object_field |
custom_object_field | custom_object_field__custom_field_options |
macro | macro_attachment |
brand | brand_logo |
article | article_attachment |
How does this affect my deployment?
The selected child element will be skipped and will not be deployed.
How can I fix this error?
Ensure that the child element is referenced by its parent by selecting the parent or manually editing it if the parent includes additional changes you don't wish to deploy.
You can learn more about deployment preview errors here.