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?

已提問 1 年前檢視次數 236 次
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
支援工程師
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南