Skip to content

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

License

Notifications You must be signed in to change notification settings

getindata/terraform-google-group-users-data-source

Repository files navigation

Google Group Users Data Source Terraform Module

Terraform GCP

License Release

We help companies turn their data into assets


Terraform module for listing users from Google Workspace group.

There is also a groups_users wrapper submodule available, that allows listing of users from multiple Google Workspace groups.

USAGE

module "terraform_google_group_users_data_source" {
  source  = "getindata/group-users-data-source/google"
  group  = "[email protected]"
}

EXAMPLES

  • Simple - Basic usage of the module

Inputs

Name Description Type Default Required
group_email (Required) The Group email queried for Members string n/a yes

Modules

No modules.

Outputs

Name Description
group_name Group name
service_accounts List of Service Accounts that belong to Google group
users List of Users that belong to Google group

Providers

Name Version
google ~> 5.4

Requirements

Name Version
terraform >= 1.3.0
google ~> 5.4

Resources

Name Type
google_cloud_identity_group_lookup.group data source
google_cloud_identity_group_memberships.members data source

CONTRIBUTING

Contributions are very welcomed!

Start by reviewing contribution guide and our code of conduct. After that, start coding and ship your changes by creating a new PR.

LICENSE

Apache 2 Licensed. See LICENSE for full details.

AUTHORS

Made with contrib.rocks.

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages