Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
docs(user_group_member): document import
Browse files Browse the repository at this point in the history
  • Loading branch information
reinoudk committed Mar 4, 2022
1 parent eb8391c commit e3e03c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/resources/user_group_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ resource "sonarcloud_user_group_member" "example_member" {

- **id** (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
# import a group member by using <login>,<group>
terraform import "sonarcloud_user_group_member.all["user@github"]" "user@github,Members"
```
2 changes: 2 additions & 0 deletions examples/resources/sonarcloud_user_group_member/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# import a group member by using <login>,<group>
terraform import "sonarcloud_user_group_member.all["user@github"]" "user@github,Members"

0 comments on commit e3e03c2

Please sign in to comment.