Closed koszti closed 4 years ago
I just tried updating boto & using the same s3 client initialization from https://github.com/transferwise/pipelinewise/pull/285, neither worked. I'm still seeing an InvalidAccessKeyId
exception.
Pipelinewise in it's docker container works with s3 for fastsync into redshift, but doing key based replication doesn't work (since it uses this tap via singer). Additionally trying to use this target directly as a singer pipe causes the same error outside of any docker container.
I think I've figured out the source of this error, https://github.com/transferwise/pipelinewise-target-redshift/blob/master/target_redshift/db_sync.py#L236-L237
If I move these into the conditional so these lines are only set when we have a key & secret I'm able to use the instance role.
cool, sounds great that you could make it work. Can you please send a small PR so we can review, test and release a new package?
thanks for this. It solved the problem but looks like it's causing another scenario to fail. Further details in #38
31 meant to fix it but looks like this still exists. Futher details in #31