Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optional table-arn for ddb datasource #3250

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Conversation

ssenchenko
Copy link
Contributor

Issue #, if available

Description of changes

Constructing table arn if none is providing for a DDB dataSource. It's possible using ${AWS::Partition}, ${AWS::Region}, and ${AWS::AccountId} because currently it's impossible in AppSync to use a table from another partition or account. As for the region, it might be different from AWS::Region but then a customer will need to provide it anyway.

Description of how you validated changes

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ssenchenko ssenchenko marked this pull request as ready for review July 10, 2023 20:20
@ssenchenko ssenchenko requested a review from a team as a code owner July 10, 2023 20:20
@ssenchenko ssenchenko merged commit 6e91fe9 into aws:develop Jul 10, 2023
8 checks passed
@ssenchenko ssenchenko deleted the table-arn branch July 10, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants