In Cloud Maker, you can source the value of parameters from a variable in Azure DevOps. This feature lets you leverage your existing Azure DevOps variables as part of your infrastructure build with Cloud Maker.
Using Azure DevOps Variables in Cloud Maker
Navigate to the Pipelines area in Cloud Maker
Open an existing or new Cloud Maker Pipeline
Select your blueprint and blueprint version
Set the Deployment mode to Azure DevOps
On the stage configuration section, select the ellipses icon next to the parameter inputs
From the context menu, select Use Azure DevOps variable
The parameter input will turn to a blue input, and you can now enter the name of the Azure DevOps variable you would like to use as the source of the parameter value
In Azure DevOps, I have three stages named Dev, Test and Prod. I have configured variables for 'VM name' for use in each stage.
I have my three stages (Dev, Test and Prod) configured in my Cloud Maker pipeline. I have multiple parameters, and I want to use my Azure DevOps variables for my VM name in each stage.
I simply convert my VM name parameter input into an Azure DevOps variable. I then enter my Azure DevOps variable name for Dev, Test and Prod:
When I deploy my Cloud Maker pipeline using the Azure DevOps integration, Cloud Maker will look for the Azure DevOps variables and their associated values instead of using its own internal parameter values.
If you have any questions or need support with the Cloud Maker Azure DevOps variables functionality, don't hesitate to reach out on [email protected] or via our in-app chat.