Files
terraform-provider-bitbucke…/docs/data-sources/bitbucketserver_groups.md
Gavin Bunney 0b0d03cda2 Port to GitHub actions & publish to Terraform registry (#39)
* Port to GitHub actions

* Fix

* Make docs terraform registry compatible
2021-07-14 17:47:45 -07:00

28 lines
555 B
Markdown

# Data Source: bitbucketserver_groups
This data source allows you to retrieve a list of groups, optionally matching the supplied `filter`.
## Example Usage
```hcl
data "bitbucketserver_groups" "all" { }
```
### Applying a Custom Filter
Find any groups starting with `dev`.
```hcl
data "bitbucketserver_groups" "dev-groups" {
filter = "dev"
}
```
## Argument Reference
* `filter` - Optional. If specified only group names containing the supplied string will be returned.
## Attribute Reference
* `groups` - List of maps containing `name` key.