タスク定義のコンテナ名を変更するとサービス更新時に 「The container does not exist in the task definition」エラーが出てしまう | DevelopersIO

ロードバランサー利用中のECSで、タスク定義内のコンテナ名を途中で変更した際に「The container does not exist in the task definition」エラーが出てしまう時の対処法をご説明します。