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,34 @@
---
id: data_group_users
title: bitbucketserver_group_users
---
Retrieve a list of users for a specific group.
## Example Usage
```
data "bitbucketserver_group_users" "stash-users" {
group = "stash-users"
}
```
### Applying a Custom Filter
Find any users starting with `malcolm`.
```
data "bitbucketserver_group_users" "malcolms" {
group = "stash-users"
filter = "malcolm"
}
```
## Argument Reference
* `group` - Required. Group to find the users for.
* `filter` - Optional. If specified only users matching name/email for the supplied string will be returned.
## Attribute Reference
* `users` - List of maps containing `name`, `email_address`, `display_name` and `active` keys.