Skip to content

Commit

Permalink
feat: new datasource windows_local_group_members
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed May 9, 2024
1 parent 1f37caa commit a50c889
Show file tree
Hide file tree
Showing 6 changed files with 1,007 additions and 348 deletions.
38 changes: 38 additions & 0 deletions docs/data-sources/local_group_members.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
page_title: "windows_local_group_members Data Source - terraform-provider-windows"
subcategory: "Local"
description: |-
Retrieve a list of members for a specific local security group
---
# windows_local_group_members (Data Source)

<!-- data-source description generated from schema -->
Retrieve a list of members for a specific local security group.
<!-- examples generated from example files -->
## Example Usage

```terraform
data "windows_local_group_members" "administrators" {
name = "Administrators"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The name of the local group.

### Read-Only

- `members` (Attributes List) (see [below for nested schema](#nestedatt--members))

<a id="nestedatt--members"></a>
### Nested Schema for `members`

Read-Only:

- `name` (String) The name of the local group member.
- `object_class` (String) The ObjectClass of the local group member.
- `sid` (String) The security ID of the local group member.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "windows_local_group_members" "administrators" {
name = "Administrators"
}
Loading

0 comments on commit a50c889

Please sign in to comment.