by shigemk2

当面は技術的なことしか書かない

list-tasks

ECSクラスターで実行されているタスク定義の一覧を出す。

Returns a list of tasks. You can filter the results by cluster, task definition family, container instance, launch type, what IAM principal started the task, or by the desired status of the task.

なんかこんなふうに書いてあるからクラスター指定しなかったらクラスターを跨いでタスク定義を全て出力してくれるのかと思いきや、--cluster の指定がなかったらdefaultで指定するだけになる。。

awscli.amazonaws.com