Open javibravo opened 7 years ago
Activate Pipeline require to pass role for AWS Data Pipeline role
ClientError: An error occurred (AccessDeniedException) when calling the ActivatePipeline operation: User: arn:aws:sts::430404216840:assumed-role/LambdaCron-testing/LambdaCron-testing is not authorized to perform: iam:PassRole on resource: arn:aws:iam::430404216840:role/DataPipelineDefaultRole
Documentation: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html
Need to find the way to pass role in a dynamic and easy way.
Add new task type to activate AWS Data Pipelines: http://boto3.readthedocs.io/en/latest/reference/services/datapipeline.html#DataPipeline.Client.activate_pipeline
Use a wrapper to allow use all parameters in the function.