How do I render an SLS file in salt-stack which have jinja, multiple pillars and grains in it.
I need to save the rendered file in yaml file.
I already tried show.state
module and cp.get_templete
module, but am unable to achieve the desired output.