I am having trouble getting the terraform in lab 4. The code related to the “jobId” is showing an error. Any suggestion is appreciated.
module.etl.aws_glue_catalog_database.ml_database: Creating…
╷
│ Error: creating Glue Catalog Database (de-c1w4-ml-db): operation error Glue: CreateDatabase, https response error StatusCode: 400, RequestID: 510862e8-4606-4993-96c9-57b0b76ef045, AlreadyExistsException: Database already exists.
│
│ with module.etl.aws_glue_catalog_database.ml_database,
│ on modules/etl/glue.tf line 1, in resource “aws_glue_catalog_database” “ml_database”:
│ 1: resource “aws_glue_catalog_database” “ml_database” {
│
╵
voclabs:~/environment/terraform $ aws glue start-job-run --job-name de-c1w4-etl-job | jq -r ‘.JobRunId’. Clearin the cach or changing the browser is not helping.
An error occurred (EntityNotFoundException) when calling the StartJobRun operation: Failed to start job run due to missing metadata.
voclabs:~/environment/terraform $ aws glue get-job --job-name de-c1w4-etl-job
An error occurred (EntityNotFoundException) when calling the GetJob operation: Job not found.
voclabs:~/environment/terraform $ aws glue get-job --job-name de-c1w4-etl-job | jq -r ‘.Job.Command.ScriptLocation’
An error occurred (EntityNotFoundException) when calling the GetJob operation: Job not found.