Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Library Variable Templates VaryByEnvironment

Open michaelnoonan opened this issue 9 years ago • 33 comments

It is common to define environment-scoped variables that are shared by multiple projects in Library Variable Sets, but we don't provide an equivalent for Variable Templates. I can easily see circumstances where you'd want a shared tenant-environment scoped variable - think shared Azure Storage Accounts, Amazon S3 buckets, a common environment-specific database.

We should allow users to configure Tenant Variable Templates defined in Library Variable Sets to choose whether they are Constant or if a different value should be provided Per-Environment. The tenant variable screen could show an additional tab for Environment Variables in addition the existing Common Variables and Project Variables for editing these variable values.

Unfortunately we would have to consider how to handle someone changing the configuration of a Variable Template, should we veto the change if there are any defined values?

Source: http://help.octopusdeploy.com/discussions/questions/9008-variable-templates-no-option-for-environmentscope-selection

michaelnoonan avatar Sep 05 '16 02:09 michaelnoonan