I want to run a SQL query using AWS data pipeline. I have read the SQL activity info on their support page.
I am getting the error message:
Object:DefaultSqlActivity1 WARNING: Invalid role: 'DataPipelineDefaultRole'. Please confirm AWS IAM Role provided has suggested permissions.
Even after I have given my DataPipelineDefaultRole and DataPipelineDefaultResourceRole full access to S3, EC2, Redshift, DataPipeline AND done everything specified on this article: http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html
I am simply trying to run a SQL script on my amazon redshift on an hourly basis. I have been working to resolve any issues for some time now. I tried to create a role that had all privilages for everything but even that didn't work as it got stuck on "WAITING FOR RUNNER".
Any advice greatly appreciated. The .sql file is stored on s3 and I am using the script uri field under sqlactivity to run it. My pipeline currently looks like this: https://i.stack.imgur.com/SDyQy.jpg
Any help greatly appreciated!