Skip to content

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
1

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"
            ]
        }
    ]
}
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.