Which Policy is needed for elasticmapreduce:RunJobFlow in AWS?
Asked Answered
W

2

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?

Windstorm answered 17/6, 2016 at 17:26 Comment(0)
H
12

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

Handyman answered 6/11, 2019 at 5:40 Comment(0)
P
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.

Phenobarbitone answered 24/6, 2016 at 21:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.