Skip to content

Commit 0e0f788

Browse files
committed
Add readme
1 parent c354e68 commit 0e0f788

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
## Purpose
44

5-
This Lambda function syncs members from our Entra ID (Azure AD) tenant to Google Workspace as external domain shared contacts.
5+
This Lambda function syncs members from our Entra ID (Azure AD) tenant to Google Workspace as external domain shared contacts.
66

77
### Why This Exists
88

99
In the `acm.illinois.edu` Google Workspace tenant, we cannot use people chips or autocomplete for `@illinois.edu` email addresses because they're in a separate identity system (GSuite for UIUC). This creates friction when trying to email or mention Illinois users.
1010

1111
**This sync solves that problem** by:
12+
1213
- Automatically pulling all active users from the University of Illinois Entra ID tenant
1314
- Creating them as external contacts in Google Workspace's domain shared contacts
1415
- Making Illinois email addresses searchable and autocomplete-able in Gmail, Calendar, Drive, etc.
@@ -18,6 +19,9 @@ Users will now see Illinois emails appear in autocomplete suggestions and people
1819

1920
## Architecture
2021

22+
> [!IMPORTANT]
23+
> This application is deployed in the AWS us-east-2 region, not the default us-east-1 region.
24+
2125
- **Source**: ACM @ UIUC Entra ID tenant
2226
- **Destination**: Google Workspace Domain Shared Contacts for `acm.illinois.edu`
2327
- **Sync Frequency**: Configurable via EventBridge schedule (default: every hour)
@@ -38,6 +42,7 @@ Configuration is stored in AWS Secrets Manager under the secret `gsuite-dirsync-
3842
## Contact Format
3943

4044
Contacts are created with:
45+
4146
- **Primary email**: The user's mail field from Entra ID
4247
- **Name fields**: Given name, family name, and display name
4348
- **Smart parsing**: Automatically parses display names like "First Last", "Last, First", etc. when individual name fields are missing
@@ -49,17 +54,20 @@ The Lambda is deployed via Terraform. Set the Makefile.
4954
## Monitoring
5055

5156
View logs in CloudWatch Logs:
57+
5258
- Log group: `/aws/lambda/gsuite-dirsync-engine`
5359
- Structured JSON logging via Pino
5460
- Contains detailed sync statistics and any errors
5561

5662
## Development
5763

5864
Run locally:
65+
5966
```bash
6067
yarn -D
6168
make local
6269
```
70+
6371
---
6472

65-
For detailed setup instructions, see the setup documentation.
73+
For detailed setup instructions, see the setup documentation.

0 commit comments

Comments
 (0)