I have an issue in module 4 lab 2:

I have an issue in module 4 lab 2:

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::359398171992:assumed-role/voclabs/user4032354=naxilkpklogx is not authorized to perform: glue:StartJobRun on resource: arn:aws:glue:us-east-1:359398171992:job/glue_api_users_extract_job because no identity-based policy allows the glue:StartJobRun action

Hello @leonel2100,

When you run the glue job, you have to use the actual name of the glue job not the name of the output variable.

So one of the outputs you got:
glue_api_users_extract_job = “de-c4w4a2-api-users-extract-job”

When you run the glue job, the command should be:
aws glue start-job-run --job-name de-c4w4a2-api-users-extract-job | jq -r ‘.JobRunId’

Hope it helps