Skip to content

Commit 4394940

Browse files
authored
Merge pull request #687 from dbt-labs/docs/dbt-version-available-values
docs: improve dbt_version entry
2 parents f2dc68a + deba675 commit 4394940

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Documentation
2+
body: Documented accepted values and default behavior for `dbt_version` on the `dbtcloud_job` resource (#684).
3+
time: 2026-05-13T12:42:11.769105+03:00

docs/resources/job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ An example can be found [in this GitHub issue](https://github.com/dbt-labs/terra
218218
### Optional
219219

220220
- `compare_changes_flags` (String) The model selector for checking changes in the compare changes Advanced CI feature
221-
- `dbt_version` (String) Version number of dbt to use in this job, usually in the format 1.2.0-latest rather than core versions
221+
- `dbt_version` (String) Version number of dbt to use in this job. It needs to be in the format `major.minor.0-latest` (e.g. `1.5.0-latest`), `major.minor.0-pre`, `compatible`, `extended`, `versionless`, `latest` or `latest-fusion`. While `versionless` is still supported, using `latest` is recommended. If not set, the `dbt_version` configured on the environment is used.
222222
- `deferring_environment_id` (Number) Environment identifier that this job defers to (new deferring approach)
223223
- `deferring_job_id` (Number) Job identifier that this job defers to (legacy deferring approach)
224224
- `description` (String) Description for the job

pkg/framework/objects/job/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func (j *jobResource) Schema(
466466
},
467467
"dbt_version": resource_schema.StringAttribute{
468468
Optional: true,
469-
Description: "Version number of dbt to use in this job, usually in the format 1.2.0-latest rather than core versions",
469+
Description: "Version number of dbt to use in this job. It needs to be in the format `major.minor.0-latest` (e.g. `1.5.0-latest`), `major.minor.0-pre`, `compatible`, `extended`, `versionless`, `latest` or `latest-fusion`. While `versionless` is still supported, using `latest` is recommended. If not set, the `dbt_version` configured on the environment is used.",
470470
},
471471
"force_node_selection": resource_schema.BoolAttribute{
472472
Optional: true,

0 commit comments

Comments
 (0)