기본 default권한으로 maww를 구성하고 emr cluster 생성 operator 실행시 다음과 같은 에러가 발생한다.
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the RunJobFlow operation: User: arn:aws:sts::266125016754:assumed-role/AmazonMWAA-MyAirflowEnvironment-role/AmazonMWAA-airflow is not authorized to perform: elasticmapreduce:RunJobFlow on resource: arn:aws:elasticmapreduce:ap-northeast-2:266125016754:cluster/* because no identity-based policy allows the elasticmapreduce:RunJobFlow action
AmazonElasticMapReduceFullAccess의 정책을 IAM role에 추가해주어 해결한다. 상황에 따라 FullAccess가아니라 필요한 요건을 넣어주어도 좋다.
'학습과정 잡동사니 > 오답노트' 카테고리의 다른 글
docker 환경에서 패키지 모듈관련 attribute 에러 해결 (0) | 2022.05.17 |
---|---|
장고 도커 컨테이너 백엔드 에서 mysql 연결시 생기는 에러 (0) | 2022.05.17 |
vscode 에디터 kernal 에러 ["Fail to start the Kernel."] (0) | 2022.05.10 |
terraform remote-state bash script 에러 해결 (0) | 2022.04.30 |
Amazon EMR에서 "session '0' not found"(Livy 사용 시) (0) | 2022.02.11 |