Capstone Project 2 - AccessDeniedException when calling the StartJobRun operation for glue:StartJobRun

Hi team,

I’m doing the Capstone Project 2 and I am unable to run aws glue start-job-run --job-name glue_api_users_extract_job | jq -r '.JobRunId'.

Error:
An error occurred (AccessDeniedException) when calling the StartJobRun operation: User: arn:aws:sts:::assumed-role/VSCodeInstanceRole/i-0461765b1a936c8c1 is not authorized to perform: glue:StartJobRun on resource: arn:aws:glue:us-east-1::job/glue_api_users_extract_job because no identity-based policy allows the glue:StartJobRun action

Hi @jkwd,

Your job-name is not correct. Check the output of terraform apply for the correct job name.

Oh right thanks for your help!