Closed
Description
Terraform Version
1.0.0
Affected Resource(s)
- googleworkspace_group_settings
Terraform Configuration Files
provider "googleworkspace" {
credentials = "X.json"
impersonated_user_email = "X"
oauth_scopes = [
"https://www.googleapis.com/auth/admin.directory.group",
"https://www.googleapis.com/auth/admin.directory.user",
]
customer_id = "X"
}
resource "googleworkspace_group" "X" {
email = "X"
description = "Managed by TF | X"
}
resource "googleworkspace_group_settings" "X" {
email = googleworkspace_group.X.email
allow_external_members = false
who_can_join = "INVITED_CAN_JOIN"
who_can_view_membership = "ALL_MANAGERS_CAN_VIEW"
who_can_post_message = "ALL_MEMBERS_CAN_POST"
}
Expected Behavior
to run
Actual Behavior
Request had insufficient authentication scopes
Steps to Reproduce
terraform apply
Important Factoids
BTW I can create groups and add members to groups using the service account