You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-managed-lustre/create-aml-file-system-terraform.md
+24-26Lines changed: 24 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: 'Create an Azure Managed Lustre file system using Terraform'
3
-
description: Learn how to create an Azure Managed Lustre file system using Terraform.
2
+
title: Create an Azure Managed Lustre file system by using Terraform
3
+
description: Learn how to create an Azure Managed Lustre file system by using Terraform.
4
4
services: azure-stack
5
5
author: pauljewellmsft
6
6
ms.service: azure-stack
@@ -13,7 +13,7 @@ content_well_notification:
13
13
ai-usage: ai-assisted
14
14
---
15
15
16
-
# Create an Azure Managed Lustre file system using Terraform
16
+
# Create an Azure Managed Lustre file system by using Terraform
17
17
18
18
In this article, you use Terraform to create an [Azure Managed Lustre](amlfs-overview.md) file system.
19
19
@@ -22,28 +22,29 @@ In this article, you use Terraform to create an [Azure Managed Lustre](amlfs-ove
22
22
In this article, you learn how to:
23
23
24
24
> [!div class="checklist"]
25
-
> * Create a random value (to be used in the resource group name) using [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
26
-
> * Create an Azure resource group using [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
27
-
> * Create an Azure Virtual Network using [azurerm_virtual_network](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network)
28
-
> * Create an Azure subnet using [azurerm_subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet)
29
-
> * Create a random value (to be used as the Managed Lustre file system name) using [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string)
30
-
> * Create a Managed Lustre file system using [azurerm_managed_lustre_file_system](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_lustre_file_system)
25
+
>
26
+
> * Create a random value (to be used in the resource group name) by using [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet).
27
+
> * Create an Azure resource group by using [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group).
28
+
> * Create an Azure virtual network by using [azurerm_virtual_network](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network).
29
+
> * Create an Azure subnet by using [azurerm_subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet).
30
+
> * Create a random value (to be used as the Managed Lustre file system name) by using [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string).
31
+
> * Create a Managed Lustre file system by using [azurerm_managed_lustre_file_system](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_lustre_file_system).
31
32
32
33
> [!NOTE]
33
-
> The code example in this article uses the [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) and [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) resources to generate unique values for the resource group name and the Managed Lustre file system name. You can replace these values with your own resource names in the `variables.tf` and `main.tf` files.
34
+
> The code examples in this article use the [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) and [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) resources to generate unique values for the resource group name and the Managed Lustre file system name. You can replace these values with your own resource names in the `variables.tf` and `main.tf` files.
34
35
35
36
## Prerequisites
36
37
37
-
-[Install and configure Terraform](/azure/developer/terraform/quickstart-configure)
38
+
*[Install and configure Terraform](/azure/developer/terraform/quickstart-configure)
38
39
39
40
## Implement the Terraform code
40
41
41
42
> [!NOTE]
42
-
> The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-managed-lustre-create-filesystem). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-managed-lustre-create-filesystem/TestRecord.md).
43
+
> The sample code for this article comes from the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-managed-lustre-create-filesystem). You can view the log file that contains the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-managed-lustre-create-filesystem/TestRecord.md).
43
44
>
44
-
> See more [articles and sample code showing how to use Terraform to manage Azure resources](/azure/terraform)
45
+
> For more articles and sample code that show how to use Terraform to manage Azure resources, see the [main page for Terraform on Azure documentation](/azure/terraform).
45
46
46
-
1. Create a directory in which to test the sample Terraform code and make it the current directory.
47
+
1. Create a directory in which to test the sample Terraform code, and make it the current directory.
47
48
48
49
1. Create a file named `providers.tf` and insert the following code:
49
50
@@ -77,19 +78,19 @@ In this article, you learn how to:
1. Run [Get-AzStorageCacheAmlFileSystem](/powershell/module/az.storagecache/get-azstoragecacheamlfilesystem) to display the Lustre file system name.
115
+
1. Run [Get-AzStorageCacheAmlFileSystem](/powershell/module/az.storagecache/get-azstoragecacheamlfilesystem) to display the name of the Managed Lustre file system:
0 commit comments