Skip to content

Commit

Permalink
docs: fix local_group_member resource import description
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Oct 17, 2024
1 parent 0038e7e commit 45a9d2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 3 additions & 6 deletions docs/resources/local_group_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ resource "windows_local_group_member" "this" {

- `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>
```

Import a local group member with the following 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
```
6 changes: 1 addition & 5 deletions examples/resources/windows_local_group_member/import.md
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
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>`
Import a local group member with the following format: <Group SID>/member/<Member SID>

0 comments on commit 45a9d2e

Please sign in to comment.