ecs tag propagation
Taegu Kang
1 min read
- outline
ECS Task inherit from ECS Task Definition or ECS Service Tags for AWS resource tag management.
- how-to (AWS Web Console)
ECS Service
"enableECSManagedTags": "True"
"propagateTags": "Task Definition"
"Tags xxxx"
- how-to (CLI)
aws ecs describe-services --services <servicename> --cluster <clustername> --region <region> --query 'services[*].propagateTags' --output text
aws ecs describe-services --services <servicename> --cluster <clustername> --region <region> --query 'services[*].enableECSManagedTags' --output text
aws ecs update-service --service <servicename> --region <region> --cluster <clustername> --enable-ecs-managed-tags
aws ecs update-service --service <servicename> --region <region> --cluster <clustername> --propagate-tags TASK_DEFINITION|SERVICE|NONE
- reference
0
Subscribe to my newsletter
Read articles from Taegu Kang directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by