How to link appsync and AWS pinpoint resources to an amplify app?

I am looking for resources about how to setup the resources inerent of amplify and link them to an amplify app using terraform.

This info consists basically of appsync as a whole and aws pinpoint, both have terraform counterparts:

  • Appsync

  • pinpoint

  • Its is currently on the process of accepting a PR with amplify changes but even this one doesn’t seem to have any way to link those resources to amplify.

I want to know if anyone came across this same problem and if they were able to fix or find any solution to this as it seems that we are currently only capable with terraform of creating an amplify app that revolves around a code branch or something like that.