Skip to content

[Feature] Add linked_id and key on import #116

Open
@tim-steinkuhler

Description

Describe the feature
If you import jobs, and then want to link them, I interpret these are the steps:

  1. dbt-jobs-as-code import-jobs --account-id 1111 --project-id 2222 --environment-id 3333 >> jobs_2222_3333.yml
  2. Add linked_id to each job with the correct id
  3. Set a meaningful key to each job:
jobs:
  import_1:
  ...
>>

jobs:
  build:
  ...
  1. dbt-jobs-as-code link jobs_2222_3333.yml

Where I think step 2 and 3 could be done automatically.

  1. we know the id of the job we're importing
  2. we could generate a key better than import_1

Describe alternatives you've considered
Doing this manually

Who will this benefit?
People with existing dbt Cloud jobs they want to start managing through dbt-jobs-as-code

Are you interested in contributing this feature?
Can do if that helps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triageIssue needs to be triaged by the maintainer team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions