ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

Tagging Variables #85

Open Windos opened 4 years ago

Windos commented 4 years ago

Is your Enhancement request related to a problem? Please describe

I'm wanting to use variables to provide configuration data to my scripts, but I don't want the same configuration available to all scripts.

Describe the solution you'd like

I'd like to be able to apply tags (the same tags available to my scripts) to my variables.

If a variable is un-tagged, it is available to all scripts.

If a variable is tagged, it is only available to scripts the share the tag.

If multiple tags are I'm not sure if it's best to have an any or all check (script only gets variable if ALL tags are present or it's ok to only have one in common). Maybe this could be configurable?

Describe how this would improve your Universal Automation Quality of Life

Better control of access to variables by scripts.

Different config for prod vs dev with same variable name.