[Feature] define groups in root-level yml file
Open
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
Assessment
This issue has not been assessed yet.