To reduce the frequency of need less execution and avoid provisioning delays between Google Directory and AWS IAM Identity Center. Implement an event drive architecture between the two platforms.
Rough outline:
- **Google Directory Change Monitoring: **
Use Google Cloud Endpoints (GCE) to listen for events related to changes in your Google Directory.
Configure GCE to notify an AWS API Gateway when a change occurs.
- AWS API Gateway:
Create an API Gateway endpoint in AWS that will receive notifications from GCE.
Configure the API Gateway to trigger a Lambda function when a notification is received.
- AWS Lambda Function:
Trigger the API Gateway.
It may be desirable to retain a schedule trigger but at much lower frequency, e.g. daily in case event driven calls fail.