mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-23 18:01:05 +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:
@@ -0,0 +1,35 @@
|
||||
# Data Source: bitbucketserver_project_permissions_groups
|
||||
|
||||
Retrieve a list of groups that have been granted at least one project level permission to the specified project.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```hcl
|
||||
data "bitbucketserver_project_permissions_groups" "test-groups" {
|
||||
project = "TEST"
|
||||
}
|
||||
```
|
||||
|
||||
### Applying a Custom Filter
|
||||
|
||||
Find project groups starting with `dev` with project permissions.
|
||||
|
||||
```hcl
|
||||
data "bitbucketserver_project_permissions_groups" "dev-groups" {
|
||||
project = "TEST"
|
||||
filter = "dev"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
* `project` - Required. Project Key to lookup permissions for.
|
||||
* `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:
|
||||
|
||||
* `PROJECT_READ`
|
||||
* `PROJECT_WRITE`
|
||||
* `PROJECT_ADMIN`
|
||||
Reference in New Issue
Block a user