Skip to content

Commit a52b320

Browse files
dbt_invoke_template.yml documentation
1 parent 77882a4 commit a52b320

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,42 @@ dbt-invoke properties.delete <options>
193193
- `<options>` uses the same arguments as for creating/updating property
194194
files, except for `--threads`.
195195

196+
197+
### Applying default properties using `dbt_invoke_template.yml`
198+
199+
You can pass custom default properties to be added to property files on update.
200+
To do so, add a `dbt_invoke_template.yml` at the root of your dbt project,
201+
using the following convention:
202+
203+
204+
```
205+
model:
206+
meta:
207+
owner: "@default"
208+
columns:
209+
foo: "bar"
210+
211+
seed:
212+
meta:
213+
owner: "@default"
214+
columns:
215+
foo: "bar"
216+
217+
snapshot:
218+
meta:
219+
owner: "@default"
220+
columns:
221+
foo: "bar"
222+
223+
analysis:
224+
meta:
225+
owner: "@default"
226+
columns:
227+
foo: "bar"
228+
```
229+
230+
Note: only `model`, `seed`, `snapshot` and `analysis` are supported.
231+
196232
### Help
197233

198234
- To view the list of available commands and their short descriptions, run:

0 commit comments

Comments
 (0)