Skip to content

Job resource and data source data structure parity with dbt cloud API #501

@adrianburusdbt

Description

@adrianburusdbt

Currently, there are a number of mis-matches between the provider's data structures and the dbt cloud API's in the job resource and data source.
Some of them are:

  • execution block is present in job data source and API, but not present in resource, instead a timeout_seconds field exists (which is also in execution)
  • retrieving all jobs is not consistent with other data sources (e.g. having a XXX_All data source), instead there is a SingleJob model
  • there are additional blocks not consistent between the data source, resource and API, like settings, environment, etc.

A thorough investigation of the API needs to be done and the data structure must be changed to match what we have there.
Also, these will be breaking changes, so ideally we would address all of them in one release.

Draft PR with a start of implementation work: #500

Here are some linked issues to the above:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions