Azure / deployment-stacks

Contains Deployment Stacks CLI scripts and releases
MIT License
89 stars 7 forks source link

Add CLI parameter to customize the deployment name suffix #133

Open alex-frankel opened 11 months ago

alex-frankel commented 11 months ago

Created out of the discussion in #129. Something like:

az stack create ... -deployment-suffix 'YYmm'

It is interesting to think through if the value of the argument should be some sort of time format like the above or something more customized.

MassimoC commented 6 months ago

Instead of "deployment-suffix" I'd prefer to have an optional parameter "deployment-name".

az stack create ... --deployment-name '$(Build.BuildNumber)'

This way I will be able to seemlessly move from "az deployment" to "az stack" without having any impact on existing naming conventions.

veikkoeeva commented 2 months ago

I would like to add Git commit SHA to the name (or a short SHA, cf. semantic versioning), so this would be nice. For my purposes naturally any deployment unalterable medata that clearly links the commit back to repository would work.