You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
resource"googleworkspace_group_members""employees-test" {
group_id=googleworkspace_group.employees-test.emailmembers {
email="[email protected]"role="OWNER"type="USER"delivery_settings="ALL_MAIL"
}
members {
email="[email protected]"role="OWNER"type="USER"delivery_settings="ALL_MAIL"
}
members {
email="<CUSTOMER_ID>"# This is coped from the admin console role="MEMBER"type="CUSTOMER"delivery_settings="ALL_MAIL"
}
depends_on=[
googleworkspace_group.employees-test
]
}
Error: googleapi: Error 400: Invalid Input: memberKey, invalid
with googleworkspace_group_members.employees-test
on groups.tf line 89, in resource "googleworkspace_group_members" "employees-test":
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered:
When you follow the documentation of the API (Directory API), most particularly REST Resource: members and the Method: members.insert the fields who could be use to fill the customer_id value is the id
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
As per the docs here https://registry.terraform.io/providers/hashicorp/googleworkspace/latest/docs/resources/group_members#type. It should add all all the user within the domain to the group
Actual Behavior
Plan works fine but apply fail with this error:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered: