mach-composer-cli icon indicating copy to clipboard operation
mach-composer-cli copied to clipboard

Provide ability to extend or overwrite cloud resource tags

Open tleguijt opened this issue 4 years ago • 3 comments

Related to the following PR: https://github.com/labd/mach-composer/pull/57

MACH sets resource tags by default (at least; in Azure for now). It should be possible to either extend or overwrite them in MACH with an extra tags setting in your Site configuration.

I think being able to overwrite them gives you the most flexibility. I think we should not provide both options (overwrite and extend) because it will make the configuration more complex.

tleguijt avatar Dec 17 '20 08:12 tleguijt

maybe we can implement this in away that feels the same as AWS: #143

MichielBijland avatar Mar 10 '22 13:03 MichielBijland

We should be able to define tags on global level and site level and component level. Tags set on site level should be passed to the plugins so that for example aws can set default tags

mvantellingen avatar Aug 17 '23 08:08 mvantellingen

I think this first requires https://github.com/mach-composer/mach-composer-cli/issues/244, so we can change the plugin protocol and allow for setting and handling tags

demeyerthom avatar Aug 23 '23 07:08 demeyerthom