diff --git a/quickstart/101-managed-lustre-create-filesystem/main.tf b/quickstart/101-managed-lustre-create-filesystem/main.tf index 4a489f6cd..566857d80 100644 --- a/quickstart/101-managed-lustre-create-filesystem/main.tf +++ b/quickstart/101-managed-lustre-create-filesystem/main.tf @@ -2,9 +2,9 @@ resource "random_pet" "rg_name" { prefix = var.resource_group_name_prefix } -resource "azurerm_resource_group" "rg" { - name = "${random_pet.rg_name.id}" +resource "azurerm_resource_group" "rg" { location = var.resource_group_location + name = random_pet.rg_name.id } resource "random_string" "azurerm_virtual_network_name" { diff --git a/quickstart/101-managed-lustre-create-filesystem/outputs.tf b/quickstart/101-managed-lustre-create-filesystem/outputs.tf index e33b46bca..57612f1be 100644 --- a/quickstart/101-managed-lustre-create-filesystem/outputs.tf +++ b/quickstart/101-managed-lustre-create-filesystem/outputs.tf @@ -10,7 +10,7 @@ output "subnet_name" { value = azurerm_subnet.example.name } -output "azurerm_managed_lustre_file_system" { +output "managed_lustre_file_system_name" { value = azurerm_managed_lustre_file_system.example.name } diff --git a/quickstart/101-managed-lustre-create-filesystem/providers.tf b/quickstart/101-managed-lustre-create-filesystem/providers.tf index c5b792a95..058b68717 100644 --- a/quickstart/101-managed-lustre-create-filesystem/providers.tf +++ b/quickstart/101-managed-lustre-create-filesystem/providers.tf @@ -1,14 +1,14 @@ terraform { - required_version = ">= 1.0" + required_version = ">=1.0" required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.0, < 4.0" + version = "~>3.0" } random = { source = "hashicorp/random" - version = "~> 3.0" + version = "~>3.0" } } } diff --git a/quickstart/101-managed-lustre-create-filesystem/README.md b/quickstart/101-managed-lustre-create-filesystem/readme.md similarity index 100% rename from quickstart/101-managed-lustre-create-filesystem/README.md rename to quickstart/101-managed-lustre-create-filesystem/readme.md index c263a31ac..a0123f904 100644 --- a/quickstart/101-managed-lustre-create-filesystem/README.md +++ b/quickstart/101-managed-lustre-create-filesystem/readme.md @@ -3,12 +3,12 @@ This template deploys an Azure Managed Lustre file system. ## Terraform resource types +- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) - [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) - [azurerm_virtual_network](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network) - [azurerm_subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet) -- [azurerm_managed_lustre_file_system](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_lustre_file_system) -- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) - [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) +- [azurerm_managed_lustre_file_system](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_lustre_file_system) ## Variables