For reasons beyond my control, I have the following:
- A table
CustomerPhoneNumber
in DynamoDB under one AWS account. - A Redshift cluster under a different AWS account (same geographic region; EU)
Is there any way to run the COPY
command to move data from Dynamo into Redshift across accounts?
Typically if they were under the same account, it would be done via IAM
role pretty easily:
copy public.my_table (col1, col2, col3) from 'dynamodb://CustomerPhoneNumber' iam_role 'arn:aws:iam::XXXXXXXXXXX:role/RandomRoleName' readratio 40;
But obviously this doesn't work in my case.
Any ideas?