C4W4 Capstone Project Part 1 Iam issue -- can't run jobs -- terraform didn't create

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

But even if the iam role was working as expected, there would be nothing to run. When I did terraform apply, it said 0 resources created. Indeed, I check the glue console and there are no jobs.

And, I try to download a zip of my work so far, and it doesn’t seem to make it to my computer.

Hello @drl,

After you run terraform apply you should get in the terminal: glue_api_users_extract_job = “de-c4w4a1-api-users-extract-job”
Could you try using this command instead:
aws glue start-job-run --job-name de-c4w4a1-api-users-extract-job | jq -r ‘.JobRunId’

@drl I see you got 0 resources after terraform apply. Since you already checked at AWS console and nothing is there. Did you use and uncomment terraform/main.tf and outputs.tf correctly. Hope it helps