NetworkBindings missing from describe_tasks. Bug??

0

Hey All

I'm trying to extract 'containerPort' from 'networkBindings' returned in the describe_tasks api call. I noticed that networkBindings are missing when the task launchType is fargate, even though containerPort is explicitly defined in taskdefintion. The response looks like this : 'networkBindings': []

But if the launchType is ec2, networkBindings are correctly returned : 'networkBindings': [{'bindIP': '0.0.0.0', 'containerPort': 80, 'hostPort': 80, 'protocol': 'tcp'}]

Is this a known bug or am I doing something wrong?

Cheers V

vss
質問済み 1年前30ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ