C4W4 Capstone Project Part 2 2.4 Permission Error

Hi all,

While running the terraform jobs from 2.4 in Coure 4 Week 4 - Capstone Project part 2 I am receiving the following error:

(jupyterlab-venv) abc@328c49e1d593:~/workspace/terraform$ aws glue start-job-run --job-name glue_api_users_extract_job | jq
 -r '.JobRunId'

An error occurred (AccessDeniedException) when calling the StartJobRun operation: User: arn:aws:sts::498941574322:assumed-role/VSCodeInstanceRole/i-0267184375b24efcf is not authorized to perform: glue:StartJobRun on resource: arn:aws:glue:us-east-1:498941574322:job/glue_api_users_extract_job because no identity-based policy allows the glue:StartJobRun action
(jupyterlab-venv) abc@328c49e1d593:~/workspace/terraform$

What is the reason? I don’t see where in the lab we were setting up the IAM.

Best regards,
Anton.

Hello @CalmScout,
Could you try running the job from AWS glue console. I had a similar issue and it worked running the job there.


You should see those jobs in AWS try selecting glue_api_users_extract_job, run it and check Runs tab, hope it helps:

Hi @Georgios,

I have the same jobs as you:


I run the jobs, required in the steps 2.4 via AWS Glue console, and it helped, thank you!

Best regards,
Anton.