Skip to content

Commit

Permalink
ci(providers/amazon): extend max_attempts for resume_redshift_cluster…
Browse files Browse the repository at this point in the history
… to 20 (#1433)

closes: #1432

The default max_attempts is 10. If the status is still in the state of "resuming," it raises a failure. Extend this max_attempts for a longer waiting time and fix the master_dag failure.
  • Loading branch information
Lee-W authored Jan 19, 2024
1 parent 0bb0a58 commit 2cb1e6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def check_dag_status(**kwargs: Any) -> None:
task_id="resume_redshift_cluster",
cluster_identifier=REDSHIFT_CLUSTER_IDENTIFIER,
aws_conn_id=AWS_CONN_ID,
max_attempts=20,
)
# [END howto_operator_redshift_resume_cluster_async]

Expand Down

0 comments on commit 2cb1e6b

Please sign in to comment.