This PR introduces a new (( shuffle ... )) operator, for randomizing the
ordering of managed lists. This is not a great idea for workflows that
regularly re-evaluate the input YAML, but for other tools that use Spruce
in purely generative applications, it works great!
We are planning to use this to randomize AZ placement of single-node
service instances.
This PR introduces a new
(( shuffle ... ))
operator, for randomizing the ordering of managed lists. This is not a great idea for workflows that regularly re-evaluate the input YAML, but for other tools that use Spruce in purely generative applications, it works great!We are planning to use this to randomize AZ placement of single-node service instances.