{"repo":"dbt-labs/dbt-jobs-as-code","free":true,"listed":false,"github":"https://github.com/dbt-labs/dbt-jobs-as-code","clone":"git clone https://github.com/dbt-labs/dbt-jobs-as-code.git","description":"A CLI to handle dbt Jobs in YAML files. Allow code versioning and promotion of your jobs the same way your dbt project is.","language":"Python","stars":84,"topics":["dbt","dbt-cloud","iac"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"dbt-jobs-as-code dbt-jobs-as-code is a tool built to handle dbt Cloud Jobs as well-defined YAML files. [!NOTE] The documentation is moving to its dedicated website. It offers some advanced configuration options, like some templating capability to use the same YAML file to update different dbt Cloud projects and/or environments (see templating). A given dbt Cloud project can use both jobs-as-code and jobs-as-ui at the same time, without any conflict. The way we differentiate jobs defined from code from the ones defined from the UI is that the code ones have a name ending with [[ ]] . ⚠️ Important: If you plan to use this tool but have existing jobs ending with [[...]] you should rename them before running any command. [!NOTE] If keeping job names clean in the dbt Cloud UI is a requirement, the --use-desc-for-id flag (or DBT JOBS AS CODE USE DESC FOR ID=True env var) moves the [[ ]] tag from the job name to the job description instead. This is an advanced option intended for specific cases — the default name-based approach is recommended for most users. Below is a demonstration of how to use dbt-jobs-as-code as part of CI/CD, leveraging the new templating features. ! Why not Terraform Terrraform is widely used to manage infrastructure as code. And a comprehensive Terraform provider exists for dbt Cloud, able to manage dbt Cloud jobs (as well as most of the rest of the dbt Cloud configuration like projects, environments, warehouse connections etc...). Terraform is much more powe","default_branch":null,"files":null,"tree":[],"storefront":"/r/dbt-labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dbt-labs/dbt-jobs-as-code/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}