Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging resources #670

Closed
omerlh opened this issue Nov 25, 2018 · 7 comments
Closed

Tagging resources #670

omerlh opened this issue Nov 25, 2018 · 7 comments
Assignees

Comments

@omerlh
Copy link

omerlh commented Nov 25, 2018

Summary

When creating resources (cluster, ec2 instances etc) I want to be able to tag them. This is not available using ecs-cli, only via regular AWC CLI commands. See this documantaion.

Description

  • Which specific command was run? ecs-cli up --capability-iam --size 2 --launch-type EC2
  • Which version of the CLI you are using? 1.12.0 (049e13d)
  • Which version of Go are you using? go: command not found
  • What platform are you using to run ECS CLI commands? MacOSX
@SoManyHs
Copy link
Contributor

SoManyHs commented Dec 5, 2018

Hi @omerlh,
Thanks for opening this issue! We are planning on adding this functionality soon, so check back here for updates!

@rroller
Copy link

rroller commented Feb 13, 2019

Thanks, any update on this? Just had to implement a work around and looking forward to removing it :)

@PettitWesley
Copy link
Contributor

@rroller @omerlh We're currently working on this! See pull requests #709, #710, #714, #718, and #724. I don't have an exact release date for you, but expect to see tagging available in an ECS CLI release fairly soon.

Tagging in ecs-cli up has been merged into our dev branch; so if you want to start using it now, you can build the code in that branch and use it.

@jdhom
Copy link

jdhom commented Feb 13, 2019

@PettitWesley that's great news. We use tags for billing and this will really help, especially in the case of Fargate.

@allisaurus
Copy link
Contributor

Hi all, we released support for this in 1.13.0 !

@rroller
Copy link

rroller commented Mar 8, 2019

I just tested the tags support. Works great. I just deleted so much code :-) you guys are the best.

@rroller
Copy link

rroller commented Mar 9, 2019

I'm sorry to report, but my previous comment about this working seems to not be true, there appears to be a bug in this. When I use tags with the ecs-cli up, I never get any container instances. I see no errors. If I remove ONLY the tags option and run the command again, I get container instances.

I'm passing the argument like this: --tags "cost_resource_group=somevaluehere"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants