Skip to content

Commit c8d071f

Browse files
Merge pull request #230348 from MicrosoftDocs/TomArcherMsft-patch-1
Update create-lab-windows-vm-terraform.md
2 parents 75fd9f3 + 853260e commit c8d071f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/devtest-labs/quickstarts/create-lab-windows-vm-terraform.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,20 @@ In this article, you learn how to:
7070
1. Get the Azure resource name in which the lab was created.
7171

7272
```console
73-
echo "$(terraform output resource_group_name)"
73+
resource_group_name=$(terraform output -raw resource_group_name)
7474
```
7575

7676
1. Get the lab name.
7777

7878
```console
79-
echo "$(terraform output lab_name)"
79+
lab_name=$(terraform output -raw lab_name)
8080
```
8181

8282
1. Run [az lab vm list](/cli/azure/lab/vm#az-lab-vm-list) to list the virtual machines for the lab you created in this article.
8383

8484
```azurecli
85-
az lab vm list --resource-group <resource_group_name> --lab-name <lab_name>
85+
az lab vm list --resource-group $resource_group_name \
86+
--lab-name $lab_name
8687
```
8788

8889
## Clean up resources

0 commit comments

Comments
 (0)