From ad11f4c5e352ef5261a5ed6d83ea03b26fc4efc6 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Fri, 19 Jan 2024 14:43:24 +0800 Subject: [PATCH] ci(providers/amazon): extend max_attempts for resume_redshift_cluster to 20 --- .../aws/example_dags/example_redshift_cluster_management.py | 1 + 1 file changed, 1 insertion(+) diff --git a/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py b/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py index 107be0391..dfa382704 100644 --- a/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py +++ b/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py @@ -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]