Cloudformation Stack ECS-Console-V2-Service-xxxxxxxx ECS-Console-V2-Cluster-xxxxxxxx
2023. 1. 27. 16:29ㆍAWS/Amazon Elastic Container Service
728x90
SMALL
- 개요
AWS console에서 ECS관련 리소스 생성할 경우 cloudformation에 동일한 stack이 생성된다.
ECS-Console-V2-Service-xxxxxxxx
ECS-Console-V2-TaskDefinition-xxxxxxxx
- Document
AWS CloudFormation stacks
The following behavior applies to task definitions created in the new console before January 12, 2023.
When you create a task definition, the Amazon ECS console automatically creates a CloudFormation stack that has a name that begins with "ECS-Console-V2-TaskDefinition-".
If you used the AWS CLI or SDK to deregister the task definition, then you must manually delete the task definition stack. For more information, see Deleting a Stack in the AWS CloudFormation User Guide.
Task definitions created after January 12, 2023 will not have a CloudFormation stack automatically created.
- Reference
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-task-definition.html
- 이슈
Cloudformation Stack을 생각 없이 지울 경우 기존 리소스 삭제가 될수 있으므로 주의 요함.
- 삭제 기록 cloudtrail 통해 확인 하는 법
https://happyengine.tistory.com/105
728x90
LIST
'AWS > Amazon Elastic Container Service' 카테고리의 다른 글
교차 계정에서 AWS ECR 제어 (0) | 2023.12.29 |
---|---|
Amazon ECS new Web Console에서는 안 되는 작업들 (0) | 2023.10.13 |
ecs fargate Deployment failure detection (0) | 2023.06.21 |
Unable to update platform version on services with a CODE_DEPLOY deployment controller. Use AWS CodeDeploy to trigger a new deployment (0) | 2022.11.29 |
ecs service multiple target group (0) | 2022.10.25 |