-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new datasource windows_local_group_members
- Loading branch information
Showing
6 changed files
with
1,007 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
3 changes: 3 additions & 0 deletions
3
examples/data-sources/windows_local_group_members/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
data "windows_local_group_members" "administrators" { | ||
name = "Administrators" | ||
} |
Oops, something went wrong.