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

how to specify region #8

Open
gettes opened this issue Apr 30, 2024 · 1 comment · May be fixed by #11
Open

how to specify region #8

gettes opened this issue Apr 30, 2024 · 1 comment · May be fixed by #11

Comments

@gettes
Copy link

gettes commented Apr 30, 2024

I am finally at a point where i can test against AWS and I am running into a problem where I need to specify the region (not just with something like https://dynamodb.us-west-2.amazonaws.com/). There seems to be no option to specify the region for the table or the server. I am getting errors indicating a problem with credentials -- the creds are in us-east-1 but the dynamodb is us-west-2. How is this to be done?

@hrkuma
Copy link

hrkuma commented May 7, 2024

Hello,

As like you said, this FDW does not support region option now. So I think you may need some additional setting in the code if you want to try.

https://github.com/pgspider/dynamodb_fdw/blob/main/connection.cpp#L317

const Aws::String awsRegion = "us-west-2";
clientConfig.region = awsRegion;

paroga added a commit to paroga/dynamodb_fdw that referenced this issue Jan 1, 2025
@paroga paroga linked a pull request Jan 1, 2025 that will close this issue
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 a pull request may close this issue.

2 participants