Amazon ECS の停止したタスクのエラーメッセージの更新 - Amazon Elastic Container Service

Amazon ECS の停止したタスクのエラーメッセージの更新

2024 年 6 月 14 日より、Amazon ECS チームは、以下の表に示すように停止したタスクのエラーメッセージを変更します。stopCode の変更はありません。アプリケーションが正確なエラーメッセージ文字列に依存している場合は、新しい文字列でアプリケーションを更新する必要があります。ご質問や問題については、AWS Support にお問い合わせください。

注記

このエラーメッセージは変更される可能性があるため、オートメーションではエラーメッセージに依存しないことをお勧めします。

CannotPullContainerError

以前のエラーメッセージ 新しいエラーメッセージ
CannotPullContainerError: Error response from daemon: pull access denied for repository, repository does not exist or may require 'docker login': denied: User: roleARN CannotPullContainerError: The task can’t pull the image. ロールにレジストリからイメージをプルするためのアクセス許可があることを確認します。Error response from daemon: pull access denied for repository, repository does not exist or may require 'docker login': denied: User: roleARN is not authorized to perform: ecr:BatchGetImage on resource: image because no identity-based policy allows the ecr:BatchGetImage action.
CannotPullContainerError: The task can’t pull the image. イメージが存在することを確認します。Error response from daemon: pull access denied for repository, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
CannotPullContainerError: Error response from daemon: Get imageURI: net/http: request canceled while waiting for connection CannotPullContainerError: The task can’t pull the image. ネットワーク設定を確認します。Error response from daemon: Get image: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

ResourceNotFoundException

以前のエラーメッセージ 新しいエラーメッセージ
Fetching secret data from AWS Secrets Manager in region us-west-2: secret sercretARN: ResourceNotFoundException: Secrets Manager can't find the specified secret ResourceNotFoundException: The task can't retrieve the secret with ARN 'sercretARN' from AWS Secrets Manager. Check whether the secret exists in the specified Region. ResourceNotFoundException: Fetching secret data from AWS Secrets Manager in region region: secret sercretARN: ResourceNotFoundException: Secrets Manager can't find the specified secret.