When CodePipeline creates a new ECS task definition revision, the container portMapping name is removed preventing Service Discovery from working.

0

This smells like a bug. If I revert to the previous task definition and manually deploy the new container, it works. This is a fargate container.

Initial State after the Cloudformation Deployment runs and the task definition is created Enter image description here

After pushing a change to run the pipeline, the deployment step fails because portName doesn't match in the newly created revision: Enter image description here

回答なし

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

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

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

関連するコンテンツ