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 9594567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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

0 comments on commit 9594567

Please sign in to comment.