Last active
November 24, 2022 14:27
-
-
Save arslanbekov/ccb92ea9d76c7950cfaf43a052d1f991 to your computer and use it in GitHub Desktop.
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
terraform { | |
backend "remote" { | |
hostname = "app.terraform.io" | |
organization = "EXAMPLE" | |
workspaces { | |
name = "google-workspace" | |
} | |
} | |
} | |
provider "googleworkspace" { | |
# Use GOOGLEWORKSPACE_CREDENTIALS env | |
# More settings: https://registry.terraform.io/providers/hashicorp/googleworkspace/latest/docs | |
customer_id = "XXXXXXX" | |
} | |
resource "googleworkspace_user" "arslanbekov" { | |
primary_email = "[email protected]" | |
org_unit_path = "developer" | |
name { | |
family_name = "Denis" | |
given_name = "Arslanbekov" | |
} | |
} | |
output "email" { | |
value = googleworkspace_user.arslanbekov.primary_email | |
} | |
output "name" { | |
value = googleworkspace_user.arslanbekov.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment