Skip to content

Commit

Permalink
Update descriptions for user and group datasources.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Oikonomakos committed Jan 5, 2021
1 parent 90c3d53 commit e799791
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ad/data_source_ad_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func dataSourceADGroup() *schema.Resource {
"guid": {
Type: schema.TypeString,
Required: true,
Description: "The GUID of the Group object.",
Description: "The GUID of the Group object. Alternatively it can be the SID, the Distinguished Name, or the SAM Account Name of the group.",
},
"sam_account_name": {
Type: schema.TypeString,
Expand Down Expand Up @@ -75,6 +75,6 @@ func dataSourceADGroupRead(d *schema.ResourceData, meta interface{}) error {
_ = d.Set("container", g.Container)
_ = d.Set("name", g.Name)

d.SetId(dn)
d.SetId(g.GUID)
return nil
}
2 changes: 1 addition & 1 deletion ad/data_source_ad_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func dataSourceADUser() *schema.Resource {
"guid": {
Type: schema.TypeString,
Required: true,
Description: "The GUID of the user object.",
Description: "The GUID of the user object. Alternatively it can be the SID, the Distinguished Name, or the SAM Account Name of the user.",
},
"sam_account_name": {
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ output "groupname" {

### Required

- **guid** (String, Required) The GUID of the Group object.
- **guid** (String, Required) The GUID of the Group object. Alternatively it can be the SID, the Distinguished Name, or the SAM Account Name of the group.

### Optional

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ output "username" {

### Required

- **guid** (String, Required) The GUID of the user object.
- **guid** (String, Required) The GUID of the user object. Alternatively it can be the SID, the Distinguished Name, or the SAM Account Name of the user.

### Optional

Expand Down

0 comments on commit e799791

Please sign in to comment.