You can see in our ARM template that we are outputting the name of the storage account; we can use these outputs in our Terraform code. These can be referenced using the lookup function to get specific outputs from the template deployment resource. Easily convert between HCL, JSON, and YAML. input. Want to see what your config files would look like in a different format? Check it out below. code. Built using Go using the hashicorp/hcl, encoding/json, ghodss/yaml packages, compiled to JS using GopherJS. cloud_off. Terraform can also be used as an Automation solution for Azure Virtual Desktop. Terraform is a tool that enables you to completely automate infrastructure builds through configuration files. It provides versioning for configurations, which makes it easy to deploy and maintain your existing Azure Virtual Desktop deployments on Microsoft Azure. First Steps after installation: Create a directory, we decided our directory name is terraform as shown below. mkdir ~/terraform. 2. Change into the newly created directory. cd ~/terraform. 3. Create a new configuration file with the command: vim config.tf.