aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
507 stars 32 forks source link

Cross-account data sources #119

Open Vlaaaaaaad opened 4 years ago

Vlaaaaaaad commented 4 years ago

Hi,

I was looking to check if AppSync supports cross-account data sources, such as AppSync in one account using a DynamoDB table in another account.

As per, @dabit3's Tweet reply from April 1, 2020, this is not yet supported, but a workaround is available: using a custom Lambda GraphQL resolver.

Using Lambda resolvers for cross-account access is also showcased in the Develop serverless GraphQL architectures using AWS AppSync (MOB309-R1) from re:Invent 2019, with the slides posted here.

Creating this issue for 2 reasons:

slikk66 commented 3 years ago

upvoting better cross account support. I would like to see:

ckifer commented 1 year ago

+1 - would like to be able to create an OpenSearch datasource cross-account

sarojts commented 1 year ago

+1 Mutli-Account setup to keep data and services layer separate, cross account support is inevitable requirement. Please have this feature released asap.

sevacloud commented 7 months ago

+1 I'm awaiting this feature to call a cross account Dynamo using AppSync. Many of our services run in separate accounts due to following security best practices as mentioned by @sarojts