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

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!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则