A really good solution here is to use a full programming language but run the config generator on every CI run and show the diff in review. This way you have a real language to make conditions as necessary but also can see the concrete results easily.
Unfortunately few review tools handle this well. Checked-in snapshot tests are the closest approximation that I have seen.
Unfortunately few review tools handle this well. Checked-in snapshot tests are the closest approximation that I have seen.