Why is the task-definition created as a stack in cloudformation when creating aws ecs fargate?

0

The aws ecs fargate is being deployed through the aws cli using the console for only the task definition and the rest of the cluster, service container, and deployment.

One day, I saw that the task definitions were created as stacks in cloudformation. (Failure records were also included.)

Searching or looking at the official documentation says that the stack is not created in cloudformation. What is the cause? And how to prevent it from spawning?

I created it by referring to the following document. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-blue-green.html

joker
已提問 1 年前檢視次數 258 次
1 個回答
1
已接受的答案

The New ECS Console experience uses CloudFormation Stack to manage the resources and hence you might be seeing the CloudFormation Stacks launched in the same region to manage the Task Definition. This can be further checked here - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-task-definition.html#cloudformation-stack

AWS
支援工程師
已回答 9 個月前
profile picture
專家
已審閱 5 天前
  • Thank you for answer!

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

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

回答問題指南