markhopson commented on a change in pull request #14263:
URL: https://github.com/apache/airflow/pull/14263#discussion_r584228618
##########
File path: airflow/providers/amazon/aws/hooks/base_aws.py
##########
@@ -40,8 +41,32 @@
from airflow.exceptions import AirflowException
from airflow.hooks.base import BaseHook
from airflow.models.connection import Connection
+from airflow.providers.amazon.aws.models.exceptions import ECSOperatorError
from airflow.utils.log.logging_mixin import LoggingMixin
+ECS_QUOTA_ERROR_REASONS = [
Review comment:
Not sure what to do here. It feels weird to move this to `ecs.py` if I
have code in `base_aws.py` that catches `ECSOperatorError`. For now, I've
moved this variable into the `is_permissible_error()` scope to clarify intent.
Any suggestions are welcomed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]