Skip to content

Commit

Permalink
docs: add documentation for windows_local_group_member import
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Oct 17, 2024
1 parent 7dc1b74 commit 0038e7e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/resources/local_group_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ resource "windows_local_group_member" "this" {
### Read-Only

- `id` (String) The ID of this resource.
## Import
``
To import a local group member, you need both the SID (Security Identifier) of the group and the SID of the group member.
These two SIDs should be concatenated with/member/` in between.
Format:
<Group SID>/member/<Member SID>
```
```bash
terraform import windows_local_group_member.test S-1-5-32-544/member/S-1-5-21-153895498-367353507-3704405138-501
```
5 changes: 5 additions & 0 deletions examples/resources/windows_local_group_member/import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To import a local group member, you need both the SID (Security Identifier) of the group and the SID of the group member.
These two SIDs should be concatenated with `/member/` in between.

Format:
`<Group SID>/member/<Member SID>`
1 change: 1 addition & 0 deletions examples/resources/windows_local_group_member/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import windows_local_group_member.test S-1-5-32-544/member/S-1-5-21-153895498-367353507-3704405138-501

0 comments on commit 0038e7e

Please sign in to comment.