Cross DAG Deployment Dependency

Hi Team,

I am creating a DAG that is needs to be depended on the DAG that is deployed in another workspace.

Trying to replicate the code as per this GITHUB : https://github.com/astronomer/astronomer-providers/blob/6db2a4976575c7ddd67f7b7576a3c092ba5b3431/astronomer/providers/core/example_dags/example_external_deployment_task_sensor.py#L16

What should be the host that I should provide while creating deployment_conn_id in connection?

Need assistance here. Please do let me know in case of any more details required?

Hey @dilipkurup

You have to use the Deployment URL of the deployment, where your tasks that need to be checked exist, as host. Refer to this doc Trigger DAGs across Deployments for detailed example.

Also, please note that the example that you are referring to uses the deprecated ASTRONOMER_KEY_ID and ASTRONOMER_KEY_SECRET. Remember to use the API Tokens instead.

Thanks
Manmeet