dbt-labs / dbt-labs/docs.getdbt.com

`<resource_type>/properties.yml` examples for the `enabled` config

Open
#4,859 1 comment 0 reactions 0 assignees View on GitHub
content improvement size: small
Dominant language
JavaScript
Stars
215
Forks
1.2k
Avg merge
1d 15h
Merged PRs (30d)
130

Description

### Contributions

- [X] I have read the contribution docs, and understand what's expected of me.

### Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/resource-configs/enabled

### What part(s) of the page would you like to see updated?

Under the tab for each resource type, determine if `enabled` can be set underneath a `config` key within `/properties.yml` or not.

If so, then add a `/properties.yml` example for that resource type.

### One example

For example, this works for tests, and **presumably** you can similar set configs for models, seeds, etc too:

```yaml
models:
- name: orders
columns:
- name: order_id
tests:
- unique:
enabled: false
```

We'd just need to double-check each of the other resource types as well.

### Additional information

This was raised in [this](https://www.notion.so/WIP-how-do-I-know-the-primary-key-of-my-model-dbt-audit-f7a348e630b94c2693b85141cd708847?d=3679066aeaf24fcfb143d0fbb330bfb1&pvs=4#96e71907b5d84c24968adfe8dba4990d) internal conversation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.