Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update user and group resource import snippets in the docs to use emails as identifiers #318

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,11 @@ Optional:
Import is supported using the following syntax:

```shell
terraform import googleworkspace_group.sales 01abcde23fg4h5i
terraform import googleworkspace_group.sales {{email}}
```

It is also possible to use an alphanumerical ID, which is present in the URL when viewing the Group's page in the Google Workspace UI:

```shell
terraform import googleworkspace_group.sales 01abcde23fg4h5i
```
8 changes: 7 additions & 1 deletion docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,5 +401,11 @@ Optional:
Import is supported using the following syntax:

```shell
terraform import googleworkspace_user.dwight 123456789012345678901
terraform import googleworkspace_user.dwight {{primary_email}}
```

It is also possible to use the Google Account's unique ID, a 21-digit number:

```shell
terraform import googleworkspace_user.dwight 123456789012345678901
```