diff --git a/airflow/providers/amazon/aws/exceptions.py b/airflow/providers/amazon/aws/exceptions.py index 02bb5aa5bfb1c..89755d91f24d8 100644 --- a/airflow/providers/amazon/aws/exceptions.py +++ b/airflow/providers/amazon/aws/exceptions.py @@ -17,7 +17,7 @@ # under the License. from __future__ import annotations -from airflow import AirflowException +from airflow.exceptions import AirflowException # Note: Any AirflowException raised is expected to cause the TaskInstance # to be marked in an ERROR state