ferruzzi commented on code in PR #29761: URL: https://github.com/apache/airflow/pull/29761#discussion_r1119260415
########## airflow/providers/amazon/aws/waiters/ecs.json: ########## @@ -0,0 +1,81 @@ +{ + "version": 2, + "waiters": { + "cluster_active": { + "operation": "DescribeClusters", + "delay": 15, + "maxAttempts": 60, + "acceptors": [ + { + "expected": "ACTIVE", + "matcher": "pathAny", + "state": "success", + "argument": "clusters[].status" + }, + { + "expected": "FAILED", + "matcher": "pathAny", + "state": "failure", + "argument": "clusters[].status" + }, + { + "expected": "INACTIVE", + "matcher": "pathAny", + "state": "failure", + "argument": "clusters[].status" + }, + { + "expected": "MISSING", + "matcher": "pathAny", + "state": "failure", + "argument": "failures[].reason" + } + ] + }, + "cluster_inactive": { + "operation": "DescribeClusters", + "delay": 15, + "maxAttempts": 60, + "acceptors": [ + { + "expected": "INACTIVE", + "matcher": "pathAny", + "state": "success", + "argument": "clusters[].status" + }, + { + "expected": "MISSING", + "matcher": "pathAny", + "state": "success", + "argument": "failures[].reason" + } + ] + }, + "task_definition_active": { Review Comment: Pretty much my thought as well. I don't how it would get there, but if it did then sdome5thing is clearly wrong so there's no point waiting for the timeout. -- 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. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org