pillar.get function returns empty values even when the pillar is correctly defined and targeted in the SaltStack Config (RaaS) UI .realm join) fail with "missing argument" or syntax errors because the Jinja variables associated with pillars are rendered as blank strings .pillar.items Output: Running salt <minion> pillar.items immediately after deployment returns an empty dictionarysaltutil.refresh_pillar on the minion manually after the failed deployment correctly populates the data, allowing subsequent state applications to succeedsaltutil.refresh_pillar state within the same cloud template does not resolve the issue, as Jinja rendering typically occurs at the start of the process before the refresh state executes .Aria Automation 8.16.x+
Aria Automation Config 8.17+
SaltProject 3006.0 - 3006.21
This is a known defect in the product affecting the ability to render Pillar data when rendering a SLS file in SaltProject. See this guide for more general information on Pillar data, https://docs.saltproject.io/salt/user-guide/en/latest/topics/pillar.html.
The resolution to this issue will be to upgrade to the latest version of VMware Salt and to ensure that you are on the latest (3006.23+ at the time of this writing) version of SaltProject.
See this article for some guidelines for upgrading your SaltStack infrastructure, Upgrade Salt from Salt