CloudFormation error deleting ECS Service

0

I'm trying to delete a stack and keep getting the following error when CF tries to delete an ECS Task

Resource timed out waiting for completion (RequestToken: 89c25917-0f4a-bc05-4600-5995911a84bb)

The thing is that I can't even follow the resource Physical ID because the resource has been already deleted(even the ECS Cluster itself). I can confirm in CloudTrail that the API call to remove the service returned a 200 response.

Any ideas on how I can debug this further?

質問済み 2年前253ビュー
1回答
0

This happens as a result of timeout issue with ECS Service Tasks failing to get terminated in the expected time. To have overcome such issues, we recommend a two step approach:

  1. Update the Stack ECS Service Count to 0.
  2. Next delete the Stack, which should proceed with no issues.

If you would like to know more about the reason on why the tasks took longer to get terminated. I request to gather all the details of the Service and task ids with all the necessary details. Reach over to ECS Service team via a support ticket, where there are more chances of fetching the information for the issue.

Thank you!

AWS
サポートエンジニア
回答済み 2年前

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

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

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

関連するコンテンツ