Skip to main content

version

dbt projects have two distinct types of the version tags. This field has a different meaning depending on its location.

dbt_project.yml versions

The version tag in a dbt_project file represents the version of your dbt project. Although this is a required parameter, it is not currently meaningfully used by dbt. The version must be in a semantic version format, e.g. 1.0.0. For more on Core versions, see "About dbt Core versions."

dbt_project.yml
version: version

The version must be in a semantic version format, e.g. 1.0.0

.yml property file versions

A version tag in a .yml property file provides the control tag, which informs how dbt processes property files. For more on why we require this tag, see property file FAQs.

For more on property files, see their general documentation on the same page.

<any valid filename>.yml
version: 2  # Only 2 is accepted by current and recent versions of dbt.