An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Google Group Users Data Source Terraform Module

![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![GCP](https://img.shields.io/badge/GoogleCloud-%234285F4.svg?style=for-the-badge&logo=google-cloud&logoColor=white)

![License](https://badgen.net/github/license/getindata/terraform-google-group-users-data-source/)
![Release](https://badgen.net/github/release/getindata/terraform-google-group-users-data-source/)



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