Reputation: 75
In Airflow I have 2 tasks defined that run every day:
s3://{bucket-name}/foo/bar/{date}/archive.zip
Because Qubole uses an IAM role the generated url will expire when the keys are rotated (less than 24 hours as far as I can tell).
I'm trying to find a solution for this. My current idea is moving the second task into an AWS lambda and using IAM user credentials to avoid the expiry issue.
Is there any other approach I could take without over complicating it?
Upvotes: 0
Views: 1032
Reputation: 35238
You will need to use specific IAM credentials. Best practice would be be setting the permissions on the IAM user to only do what is required.
Upvotes: 1