Permission denied running job in AWS Glue

0

Hello,

I am trying to run my first job in AWS Glue, but I am encountering the following error: "An error occurred while calling o103.pyWriteDynamicFrame. /run-1679066163418-part-r-00000 (Permission denied)".

The error message indicates that the permission has been denied. I am using an IAM Role that has AmazonS3FullAccess, AWSGlueServiceRole, and even AdministratorAccess. Although I understand that this is not ideal for security reasons, I added this policy to ensure that the IAM Role is not the issue.

I have attempted to use different sources (such as DynamoDB and S3) and targets (such as Redshift and Datacatalog), but I consistently receive the same error. Does anyone know how I can resolve this issue?

Thank you in advance!

  • Could you please elaborate more on your use-case ? what is this glue ETL job trying to do ?

  • Is it possible you are trying to write into a bucket in a different account or with a policy that restricts you?

  • Also, please check if there's a bucket policy on s3 bucket that's blocking access for Glue job.

질문됨 일 년 전1065회 조회
1개 답변
0
수락된 답변

Hi There

Please check the S3 bucket policy. Even if your IAM role has S3FullAccess, the bucket policy could be preventing the object writes.

Also see Why does my AWS Glue job return the 403 Access Denied error? for more troubleshooting steps.

profile pictureAWS
전문가
Matt-B
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠