Skip to content

Commit

Permalink
add docs for group data source
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-ruth committed Feb 24, 2021
1 parent f4a5769 commit d98a675
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/data-sources/group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ldap_group Data Source

`ldap_group` is a data source for managing an LDAP group.

## Example Usage

```hcl
data "ldap_group" "group" {
ou = "OU=MyOU,DC=domain,DC=tld"
name = "MyGroup"
}
```

## Argument Reference

* `ou` - (Required) OU where LDAP group will be created.
* `name` - (Required) LDAP group name.

## Attribute Reference

* `id` - LDAP group DN.
* `members` - LDAP group members.
* `description` - Description attribute for the LDAP group.

0 comments on commit d98a675

Please sign in to comment.