fabfuel / ecs-deploy

Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Other
843 stars 145 forks source link

add support for setting tags on newly created task definitions #206

Open nwsparks opened 2 years ago

nwsparks commented 2 years ago

It would be helpful to be able to define tags when deploying using ecs-deploy.

We use this tool to coordinate deployments, but Terraform to create the initial task definition. It would be great if we could set tags then to differentiate between the definitions created by this tool, and the ones created by Terraform.

Out specific use case is that we would like to cleanup old task definitions created by ecs-deploy, but not the ones created by Terraform.

myufa commented 1 year ago

Bumping this, it would be very helpful!

nwsparks commented 1 year ago

an alternative to this could be an option to not copy the tags so that ecs deploy resources were created without tags in order to distinguish them.

the code that is doing the copying of tags was added here https://github.com/fabfuel/ecs-deploy/pull/139