Available for Enterprise Edition only.
dbt_project.yml or schema.yml/properties.yml file.
See alsoFurther information can be found in the dbt documentation on model configurations.
Types
Configurations are variables that you can use in various gem fields. There are two types of configurations.- Model configurations: Only accessible in a specific model.
- Project configurations: Accessible to any component within a specific project.
Syntax
The variable name and value should both be valid in Python. The way you reference these variables differ between model and project configurations. The table below shows some usage examples for each type of configuration.| Type | Python Syntax | SQL Syntax |
|---|---|---|
| Model | key | {{ key }} |
| Project | var("key", "defaultvalue") | {{ var("key", "defaultvalue") }} |
defaultvalue is optional for project configurations.
