Skip to content

Commit 93e77ba

Browse files
committed
updates5
1 parent 48239d4 commit 93e77ba

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

articles/dns/dns-private-zone-terraform.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Quickstart: Use Terraform to configure a virtual network in Azure'
33
description: In this quickstart, you create a virtual network, subnets, private DNS zones, network interfaces, Windows virtual machines, a private DNS A record, network security groups, and a network security rule in Azure.
44
ms.topic: quickstart
5-
ms.date: 12/13/2024
5+
ms.date: 2/3/2025
66
ms.custom: devx-track-terraform
77
ms.service: azure-virtual-network
88
author: greg-lindsay
@@ -29,21 +29,15 @@ In addition to the Azure virtual network, this code also creates:
2929
[!INCLUDE [About Terraform](~/azure-dev-docs-pr/articles/terraform/includes/abstract.md)]
3030

3131
> [!div class="checklist"]
32-
> * Specify the required version and providers for Terraform.
33-
> * Define variables for the resource group location, name prefix, address space, address prefixes, private DNS zone name, and admin username.
34-
> * Generate a random pet name for the resource group.
3532
> * Create an Azure resource group with a unique name.
36-
> * Generate a random string for unique naming.
37-
> * Create a virtual network with a unique name.
38-
> * Create a subnet within the virtual network.
39-
> * Create a private DNS zone.
40-
> * Link the private DNS zone to the virtual network.
33+
> * Establish a virtual network with a specified name and address.
34+
> * Set up a subnet specifically within the created virtual network.
35+
> * Create a private DNS zone, and link it to the virtual network.
4136
> * Generate random passwords for the virtual machines.
4237
> * Create two network interfaces.
4338
> * Create two Windows virtual machines, and attach the network interfaces.
4439
> * Create a private DNS A record.
45-
> * Create a network security group.
46-
> * Create a network security rule to allow ICMP traffic.
40+
> * Create a network security group and a network security rule to allow ICMP traffic.
4741
> * Output the names and admin credentials of the virtual machines.
4842
4943
## Prerequisites
@@ -61,16 +55,16 @@ In addition to the Azure virtual network, this code also creates:
6155
6256
1. Create a directory in which to test and run the sample Terraform code, and make it the current directory.
6357

64-
1. Create a file named `main.tf`, and insert the following code.
58+
1. Create a file named `main.tf`, and insert the following code:
6559
:::code language="Terraform" source="~/terraform_samples/quickstart/101-dns-private-zone/main.tf":::
6660

67-
1. Create a file named `outputs.tf`, and insert the following code.
61+
1. Create a file named `outputs.tf`, and insert the following code:
6862
:::code language="Terraform" source="~/terraform_samples/quickstart/101-dns-private-zone/outputs.tf":::
6963

70-
1. Create a file named `providers.tf`, and insert the following code.
64+
1. Create a file named `providers.tf`, and insert the following code:
7165
:::code language="Terraform" source="~/terraform_samples/quickstart/101-dns-private-zone/providers.tf":::
7266

73-
1. Create a file named `variables.tf`, and insert the following code.
67+
1. Create a file named `variables.tf`, and insert the following code:
7468
:::code language="Terraform" source="~/terraform_samples/quickstart/101-dns-private-zone/variables.tf":::
7569

7670
## Initialize Terraform

0 commit comments

Comments
 (0)