You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of issue (in as much detail as possible)
Dear all,
I just write a shell based automation script to copy images from a source region in multiple target regions. I would like to change the existing tags of the source image for the target images.
I just think about to tag the target images later on, but that´s also not supported with the az cli.
Does someone know a workaround? Or it´s planned to implement tags for the extension?
Because the workaround which I use for now is like:
Create managed disk and source image
Create all target images with tags in the source region
Copy the target images from the source region and delete the temporary images in the source region
In addition, I don´t want to use powershell scipts because all our automations are based on Perl or shell.
I don't understand the end goal with the tag - you want to set tags for the new images that the extension creates?
Setting the name of the new image (with target-object-name) - what is the use-case for this? also, the extension can create multiple copies so one name would result in multiple images with the same name in multiple regions... Is this the desired result?
Regarding point 1: Tags are really important for use because we use an adaption of that also for different cloud provider. We have to set therefore a few tags for regions, kernel versions, productive or dev images and so one.
We have several use cases for an target image name, in general we prepair and test our images in one region and want to copy this in all other target regions.
we have to add the target region in the image name like
we create also customer specific images which have to re-named during the copy in all regions
sandrobxxx
I want to clarify - if the extension will have a parameter to note the target image additional tags like: --target-tags tag1=value1 tag2=value2
Activity
sandrobxxx commentedon Apr 13, 2018
In addition, a function like "--target-object-name" of the images extension will be also very helpful for me.
Regards Sandro
tamirkamara commentedon Apr 13, 2018
Hi sandrobxxx
sandrobxxx commentedon Apr 13, 2018
Hi Tamir Kamara (@tamirkamara), thanks for the fast response,
Regarding point 1: Tags are really important for use because we use an adaption of that also for different cloud provider. We have to set therefore a few tags for regions, kernel versions, productive or dev images and so one.
Regards Sandro
tamirkamara commentedon Apr 16, 2018
sandrobxxx
I want to clarify - if the extension will have a parameter to note the target image additional tags like:
--target-tags tag1=value1 tag2=value2
Does that accomplish what you need?
sandrobxxx commentedon Apr 16, 2018
@ tamirkamara
Yes correct, that´s more than helpful for us.
Could you please check also for the target-object-name feature which I describe / requested before?
Thanks Sandro
AZ AOSM Extension Refactor (#7429)
Merge pull request Azure#134 from yanzhudd/migrate_compute