Propagate tags to ECS tasks #732
Labels
scope: service
Service layer / component
type: feature
New feature or new functionality to existing feature
workflow: good first issue
Good for newcomers
workflow: self-contained
Doesn't require a lot of context to pick up
The terraform resource
aws_ecs_service
has an optionalpropagate_tags
argument. If we set this toTASK_DEFINITION
orSERVICE
, the tags of the task definition or service will get attached at creation to the task. I think it doesn't matter whether we choose SERVICE or TASK_DEFINITION since we use the same tags on both, but here's a stack overflow explaining the difference.The implementation should verify that setting this argument works as expected.
References
Here's the AWS documentation.
Currently, tags on the task definition look something like this:
Currently, tasks have no tags:
Here's what the AWS Console interface looks like for this setting:
The text was updated successfully, but these errors were encountered: