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

Allow resource tagging #60

Closed
btdevopsteam opened this issue Aug 11, 2017 · 10 comments
Closed

Allow resource tagging #60

btdevopsteam opened this issue Aug 11, 2017 · 10 comments

Comments

@btdevopsteam
Copy link

btdevopsteam commented Aug 11, 2017

@dtretyakov

Thank you for your enhancement in #36

Another great enhancement would be to allow resources to be automatically tagged when they are being spawned

@konste
Copy link

konste commented Aug 11, 2017

@dtretyakov
What my colleague is trying to say here is that it would be great if cloud profile would allow for the tagging (with arbitrary tags) all resources it dynamically instantiates. Really helpful for costs attribution.
Thank you for your support!

@dtretyakov
Copy link
Contributor

@btdevopsteam, @konste, could you try to use Custom ARM Templates to tag required resources while deployment?

Do you need to specify tag key/value pairs per cloud image?

@konste
Copy link

konste commented Aug 18, 2017

@dtretyakov we probably could, but it looks like a major overkill for the purpose. All we really need is a way to specify a few key=value strings (comma separated would do) per Cloud Profile.

@btdevopsteam
Copy link
Author

@dtretyakov

Would you be referring to build 102 which installs SNAPSHOT-20170816163918?

Here are the options we are seeing when adding a new image, where should we find Custom ARM Templates?
image

@dtretyakov
Copy link
Contributor

@konste, ok, will consider adding custom tags option.

@btdevopsteam, you should select Image Type as Template:
image

@btdevopsteam
Copy link
Author

Noted with thanks, let us give it a try and update you early next week

@btdevopsteam
Copy link
Author

It works 👍

We are able to add custom tags to via template, thanks!

@btdevopsteam
Copy link
Author

btdevopsteam commented Sep 11, 2017

Would be possible to have a variable for the VM password? Otherwise we would have to put it in clear withing the template, which is somewhat insecure

Thanks!

@btdevopsteam btdevopsteam reopened this Sep 11, 2017
@dtretyakov
Copy link
Contributor

@btdevopsteam, we could do that as part of issue "Template deployment parameters" #63 once TeamCity core will support project parameters in cloud profiles.

@btdevopsteam
Copy link
Author

btdevopsteam commented Sep 12, 2017

Sounds good

Thanks!

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

3 participants