Using existing dynamodb in amplify cli
Hi can we configure amplify to use existing dynamodb ?
@vjindalaurea in which service do you want to use the existing dynamodb table? Do you want to set the use the existing dynamodb table in storag category?
I want my appsync to use existing dynamodb tables in datasource section .

Hey @vjindalaurea, you can use custom stacks within the Amplify API category to target existing DynamoDB tables. You can learn more about how to do this here: https://aws-amplify.github.io/docs/cli/graphql#add-a-custom-resolver-that-targets-an-aws-lambda-function. The example here uses a Lambda function but the process is the same for a DynamoDB table.
I would also point you towards #1060 where we are discussing opening up ways that would allow you to build your own transformers. This would allow you to build your own directives that encapsulate your own custom behaviors. Please leave feedback if this helps.
Can i also use an existing dynamoDB for a REST API within Amplify? I cannot find any resources for this option
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.