Replies: 1 comment
-
Hey @chstrong, I'm not familiar with AppSync really so apologies in advance for my lack of knowledge here - but I can't find any references to associating a role with a resolver in CloudFormation or AppSync documentation. Do you know how this use case is normally achieved without CDK? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a VTL resolver with 3 DynamoDB databases and TransactWriteItems.
As only one datasource can be assigned to a resolver I assume I need to create an IAM role, grant access to all the tables with the role and assign it to the resolver. However this doesn't work as it seems that "role" doesn't exist as attribute of the Resolver (role: resolverRole).
How can I configure CDK correctly so that the VTL resolver can access all 3 datasources?
CDK Stack Config
Even though suggested in examples, "role: resolverRole" isn't a valid attribute. I have no clue how to accomplish this. I've searched and read my but off but can't find a solution.
VTL Request File
Beta Was this translation helpful? Give feedback.
All reactions