Managing Recipe Deployment in DataHub with `datahub deploy` Command

Original Slack Thread

Hello, I am using datahub deploy command to deploy an ingestion recipe and have it in the UI and the recipes come from a git repo where they are versioned. Problem is that datahub deploy is creating the ingestion source multiple times (since I am only providing the name and not the URN, given that if the URN does not exist, the deploy command fails). Ideally, I would like to check if the recipe already exists and if not, then create it, instead of having the same recipe created each time a new recipe is added to the repo.

Datahub version: 0.13.0

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Which DataHub version are you using? (e.g. 0.12.0)
  2. Please post any relevant error logs on the thread!