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.

已提问 1 年前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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则