Not possible to configure ddb Lambda trigger if GraphQL allows any function #1740
Labels
feature-request
New feature or request
needs-product-input
Needs non-technical requirements or direction to proceed
Environment information
Description
Here's a use case for DDB lambda trigger with access to graphql. The lambda will process records and update state in the model with GraphQL mutation (careful with the updates since it can cause circular trigger).
Possible to achieve with this example https://docs.amplify.aws/react/build-a-backend/functions/examples/dynamo-db-stream/
However, it currently not possible to deploy, if model's auth includes at least one function (test1 function here) - then adding event source will break with circular dependency problem.
This is because the functions are added into own nested stack, which creates a dependency on data nested stack, which creates a circular dependency when these stacks referenced for event source.
I think this is a legit bug.
Related: #1594
The text was updated successfully, but these errors were encountered: