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.
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 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