https://github.com/getindata/terraform-google-group-users-data-source
Module returns a map of users, where keys in the maps are the group names and the values is list of users that belong to the group
https://github.com/getindata/terraform-google-group-users-data-source
Last synced: 4 months ago
JSON representation
Module returns a map of users, where keys in the maps are the group names and the values is list of users that belong to the group
- Host: GitHub
- URL: https://github.com/getindata/terraform-google-group-users-data-source
- Owner: getindata
- License: apache-2.0
- Created: 2023-02-27T09:16:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T11:11:51.000Z (over 1 year ago)
- Last Synced: 2026-01-30T12:04:27.551Z (4 months ago)
- Language: HCL
- Size: 49.8 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Google Group Users Data Source Terraform Module




We help companies turn their data into assets
---
Terraform module for listing users from Google Workspace group.
There is also a [groups_users](modules/groups-users/) wrapper submodule available, that allows listing of users from multiple Google Workspace groups.
## USAGE
```terraform
module "terraform_google_group_users_data_source" {
source = "getindata/group-users-data-source/google"
group = "example-group@google.com"
}
```
## EXAMPLES
- [Simple](examples/simple) - Basic usage of the module
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [group\_email](#input\_group\_email) | (Required) The Group email queried for Members | `string` | n/a | yes |
## Modules
No modules.
## Outputs
| Name | Description |
|------|-------------|
| [group\_name](#output\_group\_name) | Group name |
| [service\_accounts](#output\_service\_accounts) | List of Service Accounts that belong to Google group |
| [users](#output\_users) | List of Users that belong to Google group |
## Providers
| Name | Version |
|------|---------|
| [google](#provider\_google) | ~> 5.4 |
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3.0 |
| [google](#requirement\_google) | ~> 5.4 |
## Resources
| Name | Type |
|------|------|
| [google_cloud_identity_group_lookup.group](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/cloud_identity_group_lookup) | data source |
| [google_cloud_identity_group_memberships.members](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/cloud_identity_group_memberships) | data source |
## CONTRIBUTING
Contributions are very welcomed!
Start by reviewing [contribution guide](CONTRIBUTING.md) and our [code of conduct](CODE_OF_CONDUCT.md). After that, start coding and ship your changes by creating a new PR.
## LICENSE
Apache 2 Licensed. See [LICENSE](LICENSE) for full details.
## AUTHORS
Made with [contrib.rocks](https://contrib.rocks).