You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
Structure the yml so that it matches the dbt Cloud UI.
Currently, the generated yml files are sorted alphabetically, so it took me a while to decypher what part of the yaml was responsible for what part of dbt Cloud job configuration. If you structure the yml in a way that it matches the dbt Cloud UI, it is easier to understand.
I just tried the command dbt-jobs-as-code import-jobs --account-id 12 --project-id 23 --include-linked-id on my side and I am getting the YML file ordered as in the Pydantic definition, not alphabetically
Ha, thank you for this! I must have mis-remembered then. My point was more that I had some trouble the first time I looked at the output, trying to link it to the UI.
Like, in your example, dbt_version is before name, while in the UI, dbt_version is the second to last thing on the page
Describe the feature
Structure the yml so that it matches the dbt Cloud UI.
Currently, the generated yml files are sorted alphabetically, so it took me a while to decypher what part of the yaml was responsible for what part of dbt Cloud job configuration. If you structure the yml in a way that it matches the dbt Cloud UI, it is easier to understand.
Example of re-ordered yaml:
Who will this benefit?
Anyone that wants to match the yaml to the outcome (job configuration) in dbt Cloud.
Are you interested in contributing this feature?
Perhaps if you agree that this is a good idea, we could chat about how to go about this
The text was updated successfully, but these errors were encountered: