# Googleworkspace groups list

**URL:** <https://discuss.hashicorp.com/t/googleworkspace-groups-list/39000>\
**Category:** Terraform Providers\
**Created:** [May 3, 2022, 9:49am UTC](https://discuss.hashicorp.com/t/googleworkspace-groups-list/39000 "2022-05-03T09:49:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joachim-isaksson](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/joachim-isaksson/32/27849_2.png) [@joachim-isaksson](https://discuss.hashicorp.com/u/joachim-isaksson)\
**Post date:** [May 3, 2022, 9:49am UTC](https://discuss.hashicorp.com/t/googleworkspace-groups-list/39000/1 "2022-05-03T09:49:46Z")

</div>

Not sure this is in the right place, but there was no category for the googleworkspace provider.

I was wondering why there is no googleworkspace\_groups resource similar to googleworkspace\_users to get a group list of all groups in the workspace. Is there a specific reason or is it just a non prioritized use case?

My specific use case is to take workspace groups replicated from an active directory domain with a specific naming convention and add them to specific gcp local groups. The code is very straight forward as long as I list the group names in the variables, but I’d really like to not have the extra step of replicating a new group and also add it to terraform.

If anyone has any idea how to get a group list that I didn’t think of, I’d appreciate any hint 🙂

---

<div class="post-metadata">

**Author:** ![joachim-isaksson](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/joachim-isaksson/32/27849_2.png) [@joachim-isaksson](https://discuss.hashicorp.com/u/joachim-isaksson)\
**Post date:** [May 3, 2022, 2:56pm UTC](https://discuss.hashicorp.com/t/googleworkspace-groups-list/39000/2 "2022-05-03T14:56:25Z")

</div>

[Something like this](https://github.com/joachim-isaksson/terraform-provider-googleworkspace/commit/e306f2d97deadb22f535b2e49e6c4768689d5b5e) seems to work, is it worth learning the test framework/doc style and trying for a pull request or is it a non wanted feature?

Couldn’t get existing tests to work, so a bit behind on that bit 🙂
