-
Notifications
You must be signed in to change notification settings - Fork 4
/
dbt_project.yml
27 lines (23 loc) · 1.42 KB
/
dbt_project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: 'dbt_tags'
config-version: 2
require-dbt-version: [">=1.6.0", "<2.0.0"]
profile: 'dbt_tags'
model-paths: ["models"]
macro-paths: ["macros"]
clean-targets:
- "target"
- "dbt_packages"
- "logs"
vars:
# dbt_tags__database: common # optional, target.database if not specified
# dbt_tags__schema: tags # optional, target.schema if not specified
# dbt_tags__allowed_tags: [] # optional, allow all
# dbt_tags__opt_in_default_naming_config: true # optional, set false to use dbt__tags__database and dbt_tags__schema values
dbt_tags__resource_types: ["model", "snapshot", "source"] # mandatory, find tags for only configured dbt resource types
# dbt_tags__policy_data_types: # optional, defaults to same policy name as tag name if not specified per policy
# - <tag-name>: ['datatype','list'] # list of tag names, assign list of datatypes. Suffixes policy name with datatypes on assigning policies to tags
# dbt_tags__tag_name_separator: ~ # optional, the default value is tilda. If you use ~ in your tag names then you can set a different separator character here
# dbt_tags__tag_source_columns: # Optional. Enables or disables the tagging of source columns.
# When set to true, it allows the project to tag columns defined in sources.
# By default, this project allows enabling column tagging when using the apply_column_tags() macro.
# Set dbt_tags__tag_source_columns: false to disable source column tagging.