9

I'm using AWS DataPipeline to run an aws-cli command that creates an EMR Cluster, but I'm getting the following error when the command runs:

user ... is not authorized to perform: elasticmapreduce:RunJobFlow

I want to associate the right Policy to authorise this, but how do I know which policy is needed?

cahen
  • 15,807
  • 13
  • 47
  • 78

2 Answers2

12

Select a User > Add Permissions > Attach existing policies directly > AmazonElasticMapReduceFullAccess

0

I suspect you didn't use the roles that are created by default in your account to run pipelines (DataPipelineDefaultResourceRole and DataPipelineDefaultRole). If this is the case just use that and it should work.

luk75
  • 44
  • 2