How to use Cloud Key/Value Profile Variables Within Automation Scripts

Hello,

We have had a few questions recently asking how to use cloud profile key/value variables in 6.0.1 and above.

I have attached a brief video here that shows an example: Screen Capture on 2023-03-22 at 14-45-22.mp4 - Droplr

Referenced code:

echo "<%=cloud.profile%>"
echo "<%=cloud.profile.colour%>"
echo "<%=cloud.profile.fruit%>"

Like all Morpheus variables (Variables — Morpheus Docs documentation) the cloud.profile variable is also available in other task types.

Have a good day!

Chris

3 Likes

Awesome thanks for sharing @ctaylor