1 Answer
- Newest
- Most votes
- Most comments
1
Do you need this declaration ?
readonly DefaultArguments?: JSON;
Your glue job should look a bit like this
const L2gluejob = new glue.CfnJob(this, "obs_rep_job", {
name: "OBS table replication",
role: gluer_role.roleArn,
command: {
name: "glueetl",
pythonVersion: "3",
scriptLocation: GlueScript.fromAsset(this, 'obs_table_replication', './OBS Table Replication.py'),
},
defaultArguments: {
"--job-bookmark-option": "job-bookmark-disable",
"--output_bucket_name": GlueBucket,
"--output_prefix_path": GlueBucketPath
},
connections: {
connections: ["obs_gluedbconnection"]
},
timeout: 60,
numberOfWorkers: 10,
glueVersion: "4.0",
workerType: "G.1X",
});
Relevant content
asked 2 years ago
asked 2 years ago

Thanks for the feedback. It worked now!