-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle-workspace.tf
28 lines (22 loc) · 1.08 KB
/
google-workspace.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
provider "google" {
alias = "google_workspace"
project = var.google_workspace_gcp_project_id
impersonate_service_account = var.google_workspace_terraform_sa_account_email
}
module "worklytics_connectors_google_workspace" {
source = "git::https://github.com/worklytics/psoxy//infra/modules/worklytics-connectors-google-workspace?ref=v0.4.61"
providers = {
google = google.google_workspace
}
environment_id = var.environment_name
enabled_connectors = var.enabled_connectors
gcp_project_id = var.google_workspace_gcp_project_id
google_workspace_example_user = var.google_workspace_example_user
google_workspace_example_admin = var.google_workspace_example_admin
provision_gcp_sa_keys = var.google_workspace_provision_keys
todos_as_local_files = var.todos_as_local_files
}
output "google_workspace_api_clients" {
description = "Map of API client identifiers for Google Workspace connectors. Useful for migrations."
value = module.worklytics_connectors_google_workspace.api_clients
}