This repository has been archived by the owner on Jun 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joshua Rutherford
committed
Jan 16, 2020
1 parent
524a2de
commit 033b298
Showing
2 changed files
with
27 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,24 @@ resource "gsuite_user" "developer" { | |
"[email protected]" | ||
] | ||
|
||
# advise to set this field to true on creation, then false afterwards | ||
change_password_next_login = true | ||
|
||
name { | ||
family_name = "Sillevis" | ||
given_name = "Chase" | ||
} | ||
|
||
# on creation this field is required, later during updates it is ignored; | ||
# it is expected that the user and Google will handle passwords from there on | ||
# out | ||
# Note the following behaviors regarding passwords: | ||
# | ||
# - When running `terraform import` on a user resource: | ||
# - The `password` and `hash_function` fields are ignored. | ||
# - When running `terraform apply` with a new user resource in your terraform state: | ||
# - If the user does not exist in GSuite the following applies: | ||
# - The `password` field must be set or GSuite will reject the request. | ||
# - The `hash_function` field must be set only if the `password` field contains a hashed value. | ||
# - The GSuite account will be configured to require password change on next login. | ||
# - If the user exists in GSuite the following applies: | ||
# - The `password` and `hash_function` fields will be ignored. | ||
# - When running `terraform apply` with an existing user resource: | ||
# - The `password` and `hash_function` fields will be ignored. | ||
password = "testtest123!" | ||
|
||
primary_email = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters