Search code examples
azureazure-resource-managerazure-rm-templateazure-devtest-labs

How to trigger a specific Dev/Test Lab environment using ARM Template?


I am trying to automate the creation of Dev/Test Lab environments using ARM Templates. Currently my environments options are stored in GitHub and lets say I have a specific environment called "Env1" that deploys PaaS services.

I wanted to use ARM Templates to trigger the creation of the environment called "Env1" passing all the required parameters.

How can I achieve this? I was only able to find examples in Powershell.


Solution

  • As Azure DevTest Lab environments are ARM templates already, you can either create environments from templates in the Azure portal or automate environment creation with PowerShell.