dominikhei commented on PR #51692: URL: https://github.com/apache/airflow/pull/51692#issuecomment-3053878753
The`EcsTaskDefinitionStateSensor` waits for a **task definition** to be in `ACTIVE` state. What's our problem right now (I hope 😄 ) is that when we invoke the boto3 method `run_task`, the response returned does not contain the `container_name`, which becomes a problem if we want to use logs from cloud watch in Airflow. There also is an `EcsTaskStateSensor`,which waits for an ECS Task to be in state x, however as our problem is occurring internally within the operator when we want to run this task, won't help much. We could also think about making `container_name` required, but I am not a huge fan of that, or simply adding some more warnings, such that users understand clearer why their task is failing. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
