Carlo
11/17/2022, 12:23 AMECSTask
with the task_definition
arg. Today we tried transitioning to task_definition_arn
However, it's still trying to register a task definition every time the agent picks up a flow to run. Details in thread...ecs = ECSTask(
stream_output=False,
configure_cloudwatch_logs=True,
cluster="my-cluster",
image=CONTAINER_IMAGE_PYTHON,
vpc_id=VPC_BY_ENV[env],
task_customizations=ENV_OVERRIDES[env_override_key],
task_definition_arn=task_arn,
task_start_timeout_seconds=60*6
)
Mason Menges
11/17/2022, 12:33 AMCarlo
11/17/2022, 12:36 AMconfigure_cloudwatch_logs
is True, it creates a new task def revision to update the awslogs-stream-prefix
with the flow run name, eg mighty-adder