diff --git a/docs/resources/user_group_member.md b/docs/resources/user_group_member.md index b2250e7..a96bfc2 100644 --- a/docs/resources/user_group_member.md +++ b/docs/resources/user_group_member.md @@ -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 , +terraform import "sonarcloud_user_group_member.all["user@github"]" "user@github,Members" +``` diff --git a/examples/resources/sonarcloud_user_group_member/import.sh b/examples/resources/sonarcloud_user_group_member/import.sh new file mode 100644 index 0000000..bf97828 --- /dev/null +++ b/examples/resources/sonarcloud_user_group_member/import.sh @@ -0,0 +1,2 @@ +# import a group member by using , +terraform import "sonarcloud_user_group_member.all["user@github"]" "user@github,Members"