Added docs for data sources

This commit is contained in:
Gavin Bunney
2019-10-14 14:45:01 -07:00
parent b313c98d46
commit 08d0f58674
14 changed files with 398 additions and 206 deletions

View File

@@ -0,0 +1,36 @@
---
id: data_global_permissions_groups
title: bitbucketserver_global_permissions_groups
---
Retrieve a list of groups that have been granted at least one global permission.
## Example Usage
```
data "bitbucketserver_global_permissions_groups" "all" { }
```
### Applying a Custom Filter
Find any groups starting with `dev`.
```
data "bitbucketserver_global_permissions_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` and `permission` keys. Available permissions are:
* `LICENSED_USER`
* `PROJECT_CREATE`
* `ADMIN`
* `SYS_ADMIN`