Default IAM role for AWS Glue

0

I have set up default IAM role in the step - "Admins: Grant access to AWS Glue and set a default IAM role." But in a new glue job, this IAM role is not appearing by default. What is missing? Is there anyway to check what's the default IAM role set for my AWS glue?

1 Answer
0

When you create an ETL Job you have to define which role to use. Ensure your trust policy on the Role is as follows for it to appear in the list of available roles

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "Service": "glue.amazonaws.com"
            },
            "Action": [
                "sts:TagSession",
                "sts:AssumeRole"
            ]
        }
    ]
}
profile picture
EXPERT
answered 6 days ago
profile picture
EXPERT
reviewed 5 days ago