I have a daily Glue job that was working properly but suddenly stopped working a few days ago with this error:
An error occurred while calling o90.getDynamicFrame. [Amazon] Invalid operation: password authentication failed for user "glue";
I'm using a glue context to create some dynamic frames from the catalog in this job:
df_x = glueContext.create_dynamic_frame.from_catalog(
database="xxx", table_name="xxx"
).toDF()
df_xx = glueContext.create_dynamic_frame.from_catalog(
database="xxx",
table_name="xxx",
redshift_tmp_dir="s3://xxx/xxx",
additional_options={"aws_iam_role": "arn:aws:iam::xxx:role/xxx"},
).toDF()
Do you have any idea what could cause this error?