Skip to content

Instantly share code, notes, and snippets.

@samcolson4
Created November 17, 2021 16:33
Show Gist options
  • Save samcolson4/9914b2a45a1f9f9c2978c864de05cc6a to your computer and use it in GitHub Desktop.
Save samcolson4/9914b2a45a1f9f9c2978c864de05cc6a to your computer and use it in GitHub Desktop.
Terraform error output - BAO
$ terraform apply
googleworkspace_user.rodrigo-test: Refreshing state... [id=118199865844457068155]
│ Error: Error when reading or editing rodrigo-test@beachtest.net: Get "https://admin.googleapis.com/admin/directory/v1/users/118199865844457068155?alt=json&prettyPrint=false&projection=full": oauth2: cannot fetch token: 401 Unauthorized
│ Response: {
│ "error": "unauthorized_client",
│ "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."
│ }
│ with googleworkspace_user.rodrigo-test,
│ on main.tf line 7, in resource "googleworkspace_user" "rodrigo-test":
│ 7: resource "googleworkspace_user" "rodrigo-test" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment