dominikhei commented on PR #51692: URL: https://github.com/apache/airflow/pull/51692#issuecomment-3052756700
> Reviewing the code. It would be good if you can provide an example of a DAG with the EcsRunTaskOperator so I can test it on the main branch, see it fail, and then try again on this branch. > > The Airflow Ecs docs may be out of date because when I follow the [example](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/operators/ecs.html#howto-operator-ecsruntaskoperator) the API fails with an Attribute error, so something about my call is invalid even though I'm using the default example. Seeing an example would help. I think it is tricky to create a sample dag in this case, as we depend on whether ECS returns a container name with the call of `run_task`. What you need is a `EcsRunTaskOperator` with no `container_name` specified and `awslogs_group` and `awslogs_stream_prefix` set. It's not trivial to reproduce, as the container needs to be in e.g `PENDING` upon the call. But let me know if I overlook something. -- 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]
