Authorization Error While Creating Glue Crawler

Hello Team,

I am encountering the following error while attempting to create a Glue Crawler via the UI. The data source is a CSV file stored in an S3 bucket.

Error Message - User: arn:aws:iam::382258128167:user/kk_labs_user_118661 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::382258128167:role/glue-iam-role because no identity-based policy allows the iam:PassRole action

Kindly advise on the required permissions or steps to resolve this issue.

Regards,
Vidya

Again, it would help to see the terraform code here? And again – is this for a lab, or just something you’re doing on a playground?