lambda-cron icon indicating copy to clipboard operation
lambda-cron copied to clipboard

Feature: Add task to activate AWS Data Pipelines.

Open javibravo opened this issue 8 years ago • 1 comments

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.

javibravo avatar Apr 15 '17 16:04 javibravo

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.

javibravo avatar Apr 16 '17 19:04 javibravo