dbt-labs / dbt-labs/dbt

[Feature] define groups in root-level yml file

Open
#10,945 1 comment 1 reaction 0 assignees View on GitHub
engine:v1 model_groups_access type:docs type:feature
Dominant language
Rust
Stars
13.8k
Forks
2.6k
Avg merge
21h 31m
Merged PRs (30d)
56

Description

### Describe the feature

Currently, you can define groups in any “content” yml file (models/, seeds/, etc), but not as a root-level file.

Since groups can be applied to most (soon [more](https://github.com/dbt-labs/dbt-core/issues/9339)) resource types, it would make sense to be able to define them in a root yml file.

See[ slack thread](https://dbt-labs.slack.com/archives/C05FWBP9X1U/p1730311796277499)

### Acceptance Criteria

I can define my group in a root-level yml file:

```yml
# /groups.yml

groups:
- name: marketing
owner:
name: marketing_pod
slack: ask-marketing-pod
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.