feature-request
Basic conditional (optional) logic in stacks/pipelines
With stacks/pipelines, you could adding near duplicate pipelines by having conditional logic. Consider this scenario
- You define a DEBUG_LEVEL scoped variables variable as GLOBALLY scoped.
- You define a specific workload to override DEBUG level conditionally IF set.
- You could then conditionally set the debug-level variable on a pipeline, if you happen to need the variable overridden for a given deployment you could set debug level to 'high' and deploy, and override the variable for that deployment.
Currently there's limitations as you need to stop an instance for ENV variables to take effect, and redeploying isnt viable as currently, that always requires the environment variable to be set.
Implementation suggestions (should you permit these :))
- Mark build variables for stacks as 'optional', as well as in pipelines. If the variable is set, you'll send the value to the pipeline/stack, and then the stack can optionally define the variable and even a fallback if necessary.