mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-18 07:23:47 +01:00
Port to GitHub actions & publish to Terraform registry (#39)
* Port to GitHub actions * Fix * Make docs terraform registry compatible
This commit is contained in:
27
docs/data-sources/bitbucketserver_groups.md
Normal file
27
docs/data-sources/bitbucketserver_groups.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user