Skip to content

Commit 5725e69

Browse files
authored
Merge pull request #100121 from mike-urnun-msft/patch-102
fixes samples per #45560 & #45576
2 parents 7284680 + 9f78d5a commit 5725e69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/terraform/terraform-create-vm-cluster-with-infrastructure.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ In this section, you create a file that contains resource definitions for your i
203203
disable_password_authentication = false
204204
}
205205
206-
tags {
206+
tags = {
207207
environment = "staging"
208208
}
209209
}
@@ -255,10 +255,10 @@ By default Terraform tried to find your variables file as follows:
255255
- File named `terraform.tfvars`
256256
- File named with using the following pattern: `*.auto.tfvars`
257257

258-
However, your variables file need not follow either of the two preceding conventions. In that case, specify your variables file name with the `-var-file` parameter. The following example illustrates this point:
258+
However, your variables file need not follow either of the two preceding conventions. In that case, specify your variables file name with the `-var-file` parameter where your variable file name does not carry an extension. The following example illustrates this point:
259259

260260
```hcl
261-
terraform plan -var-file <my-variables-file.tf>
261+
terraform plan -var-file <my-variables-file>
262262
```
263263

264264
Terraform determines the actions necessary to achieve the state specified in the configuration file.
@@ -286,4 +286,4 @@ If you want to apply a previously saved execution plan, run the following comman
286286
## Next steps
287287

288288
> [!div class="nextstepaction"]
289-
> [Create an Azure virtual machine scale set using Terraform](terraform-create-vm-scaleset-network-disks-hcl.md)
289+
> [Create an Azure virtual machine scale set using Terraform](terraform-create-vm-scaleset-network-disks-hcl.md)

0 commit comments

Comments
 (0)