Closed alexfowler closed 5 years ago
@alexfowler I know this was almost a year ago, but I found out today that the Credentials
config is not used for uploading to S3, instead it uses your current session. So either use ~/.aws/credentials
or set AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment variables.
@joelash thank you, I managed to get it working in the end but neglected to comment back here. I believe it was per your suggested solution. Closing the ticket.
When running the hauser script, I get the following error:
I believe has to do with the IAM role credentials in the config.toml, however the example-config.toml file is rather vague on what a correct example should look like and there's no documentation on how to properly configure such an IAM role for the hauser script (that i know of).
So far I'm using this as my main reference on configuring the IAM role: https://docs.aws.amazon.com/redshift/latest/mgmt/generating-iam-credentials-role-permissions.html
Below is the policy that I attached to the above IAM role on the AWS documentation: