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 Answer
0
Accepted Answer

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
SUPPORT ENGINEER
answered 9 months ago
  • Thank you for answer!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions