Skip to content

Commit afc2cfd

Browse files
committed
updates4
1 parent 544804d commit afc2cfd

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

articles/batch/quick-deploy-batch-account-and-two-pools-terraform.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Deploy an Azure Batch account and two pools - Terraform'
33
description: In this article, you deploy an Azure Batch account and two pools using Terraform.
44
ms.topic: quickstart
5-
ms.date: 10/18/2024
5+
ms.date: 10/22/2024
66
ms.custom: devx-track-terraform
77
ms.service: azure-batch
88
author: Padmalathas
@@ -20,19 +20,19 @@ In this quickstart, you create an Azure Batch account, an Azure Storage account,
2020
[!INCLUDE [About Terraform](~/azure-dev-docs-pr/articles/terraform/includes/abstract.md)]
2121

2222
> [!div class="checklist"]
23+
> * Specify the required version of Terraform and the required providers.
24+
> * Define the Azure provider with no additional features.
25+
> * Define variables for the location of the resource group and the prefix of the resource group name.
2326
> * Generate a random name for the resource group using the provided prefix.
2427
> * Create an Azure resource group with the generated name at the specified location.
2528
> * Generate a random string to be used as the name for the Storage account.
26-
> * Create a Storage account with the generated name, in the created resource group, at the same location, and with a standard account tier and locally redundant storage replication type.
29+
> * Create a Storage account with the generated name in the created resource group, at the same location, and with a standard account tier and locally redundant Storage replication type.
2730
> * Generate another random string to be used as the name for the Batch account.
28-
> * Create a Batch account with the generated name, in the created resource group, at the same location, and link it to the created Storage account with Storage keys authentication mode.
31+
> * Create a Batch account with the generated name in the created resource group, at the same location, and link it to the created Storage account with Storage keys authentication mode.
2932
> * Generate a random name for the Batch pool with a "pool" prefix.
30-
> * Create a Batch pool with a fixed scale, using the generated name, in the created resource group, linked to the created Batch account, with a standard A1 virtual machine (VM) size, Ubuntu 22.04 node agent SKU, and a start task that echoes 'Hello World from $env' with a maximum of one retry and waits for success.
33+
> * Create a Batch pool with a fixed scale using the generated name in the created resource group, linked to the created Batch account, with a standard A1 virtual machine (VM) size, Ubuntu 22.04 node agent SKU, and a start task that echoes 'Hello World from $env' with a maximum of one retry and waits for success.
3134
> * Create another Batch pool with auto scale, using the same generated name, in the created resource group, linked to the created Batch account, with a standard A1 VM size, Ubuntu 22.04 node agent SKU, and an autoscale formula.
3235
> * Output the names of the created resource group, Storage account, Batch account, and both Batch pools.
33-
> * Specify the required version of Terraform and the required providers.
34-
> * Define the Azure provider with no additional features.
35-
> * Define variables for the location of the resource group and the prefix of the resource group name.
3636
3737
## Prerequisites
3838

@@ -49,16 +49,16 @@ In this quickstart, you create an Azure Batch account, an Azure Storage account,
4949
5050
1. Create a directory in which to test and run the sample Terraform code and make it the current directory.
5151

52-
1. Create a file named `main.tf` and insert the following code:
52+
1. Create a file named `main.tf`, and insert the following code:
5353
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-job/main.tf":::
5454

55-
1. Create a file named `outputs.tf` and insert the following code:
55+
1. Create a file named `outputs.tf`, and insert the following code:
5656
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-job/outputs.tf":::
5757

58-
1. Create a file named `providers.tf` and insert the following code:
58+
1. Create a file named `providers.tf`, and insert the following code:
5959
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-job/providers.tf":::
6060

61-
1. Create a file named `variables.tf` and insert the following code:
61+
1. Create a file named `variables.tf`, and insert the following code:
6262
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-job/variables.tf":::
6363

6464
## Initialize Terraform

articles/batch/quick-deploy-batch-account-and-two-pools-wth-start-task-terraform.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Deploy an Azure Batch account and two pools with a start task - Terraform'
33
description: In this article, you deploy an Azure Batch account and two pools with a start task using Terraform.
44
ms.topic: quickstart
5-
ms.date: 10/18/2024
5+
ms.date: 10/22/2024
66
ms.custom: devx-track-terraform
77
ms.service: azure-batch
88
author: Padmalathas
@@ -15,24 +15,24 @@ ai-usage: ai-assisted
1515

1616
# Deploy an Azure Batch account and two pools with a start task - Terraform
1717

18-
In this quickstart, you create an Azure Batch account, an Azure Storage account, and two Batch pools using Terraform. Batch is a cloud-based job scheduling service that parallelizes and distributes the processing of large volumes of data across many computers. It's typically used for tasks like rendering 3D graphics, analyzing large datasets, or processing video. In this case, the resources created include a Batch account (which is the central organizing entity for distributed processing tasks), a storage account for holding the data to be processed, and two Batch pools, which are groups of virtual machines that execute the tasks.
18+
In this quickstart, you create an Azure Batch account, an Azure Storage account, and two Batch pools using Terraform. Batch is a cloud-based job scheduling service that parallelizes and distributes the processing of large volumes of data across many computers. It's typically used for tasks like rendering 3D graphics, analyzing large datasets, or processing video. In this case, the resources created include a Batch account (which is the central organizing entity for distributed processing tasks), a Storage account for holding the data to be processed, and two Batch pools, which are groups of virtual machines that execute the tasks.
1919

2020
[!INCLUDE [About Terraform](~/azure-dev-docs-pr/articles/terraform/includes/abstract.md)]
2121

2222
> [!div class="checklist"]
23+
> * Specify the required version of Terraform and the required providers.
24+
> * Define the Azure provider with no additional features.
25+
> * Define variables for the resource group location and name prefix.
2326
> * Generate a random name for the Azure resource group.
2427
> * Create a resource group with the generated name at a specified location.
2528
> * Generate a random string for the Storage account name.
2629
> * Create a Storage account with the generated name in the created resource group.
2730
> * Generate a random string for the Batch account name.
28-
> * Create a Batch account with the generated name in the created resource group, linked to the created storage account.
31+
> * Create a Batch account with the generated name in the created resource group and linked to the created Storage account.
2932
> * Generate a random name for the Batch pool.
30-
> * Create a Batch pool with a fixed scale in the created resource group, linked to the created batch account.
31-
> * Create a Batch pool with autoscale in the created resource group, linked to the created batch account.
33+
> * Create a Batch pool with a fixed scale in the created resource group and linked to the created batch account.
34+
> * Create a Batch pool with autoscale in the created resource group and linked to the created batch account.
3235
> * Output the names of the created resource group, Storage account, Batch account, and both Batch pools.
33-
> * Specify the required version of Terraform and the required providers.
34-
> * Define the Azure provider with no additional features.
35-
> * Define variables for the resource group location and name prefix.
3636
3737
## Prerequisites
3838

@@ -49,13 +49,13 @@ In this quickstart, you create an Azure Batch account, an Azure Storage account,
4949
5050
1. Create a directory in which to test and run the sample Terraform code and make it the current directory.
5151

52-
1. Create a file named `main.tf` and insert the following code:
52+
1. Create a file named `main.tf`, and insert the following code:
5353
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-start-task/main.tf":::
5454

55-
1. Create a file named `outputs.tf` and insert the following code:
55+
1. Create a file named `outputs.tf`, and insert the following code:
5656
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-start-task/outputs.tf":::
5757

58-
1. Create a file named `providers.tf` and insert the following code:
58+
1. Create a file named `providers.tf`, and insert the following code:
5959
:::code language="Terraform" source="~/terraform_samples/quickstart/101-batch-pools-with-start-task/providers.tf":::
6060

6161
1. Create a file named `variables.tf` and insert the following code:

0 commit comments

Comments
 (0)