【发布时间】:2019-09-06 01:10:00
【问题描述】:
在 Airflow 1.10.1 中使用 ECSOperator 通过 ECS Fargate 运行任务时出现此错误。 DAG 代码可用here
[2019-04-15 15:57:36,960] {{models.py:1788}} ERROR - An error occurred
(InvalidParameterException) when calling the RunTask operation: Network
Configuration must be provided when networkMode 'awsvpc' is specified.
不确定那里出了什么问题,因为 network_configuration 是在 args 字典中传递的,类似于这里所做的 https://github.com/apache/airflow/blob/master/tests/contrib/operators/test_ecs_operator.py#L61
【问题讨论】:
标签: airflow aws-fargate