You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "seanghaeli (via GitHub)" <gi...@apache.org> on 2025/07/08 20:46:20 UTC

Re: [I] EcsRunTaskOperator fails when no containers are provided in the response [airflow]

seanghaeli commented on issue #51429:
URL: https://github.com/apache/airflow/issues/51429#issuecomment-3050256908

   Perhaps I'm missing something but doesn't an ECS Task require at least one Container to even get instantiated? For example, when I register a task without a container:
   
   ```
   register_task = EcsRegisterTaskDefinitionOperator(
       task_id="register_task",
       family="empty-containers-test",
       register_task_kwargs={
           "cpu": "256",
           "memory": "512",
           "networkMode": "awsvpc",
       },
   )
   ```
   
   Airflow gives me the following error:
   
   `TypeError: missing keyword argument 'container_definitions'`
   
   I'm a bit confused how we end up in a situation where we're running a task without any containers


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org