-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular dependency between resources when using Cognito custom-message and DynamoDB stream together #1723
Comments
Hey @jbp35, thank you for reaching out. Issue occurs as there a circular dependancy between the resources, Similar to the issue linked we will need to break the circular dependancy
|
Thank you for the code example. This is working. |
Closing the issue. Do reach out if you require any assistance. |
Environment information
Description
What I did:
Configure a function to handle custom messages in Amazon Cognito following this tutorial:
https://docs.amplify.aws/react/build-a-backend/functions/examples/custom-message/
Add a DynamoDB Stream to sync data from the database to an external service using Lambda in backend.ts:
The error message
Similar issues
I found similar issue which seems to have been solved but the solution is not very clear:
#1552
The text was updated successfully, but these errors were encountered: