Skip to content

Commit

Permalink
User Story 171709 (#267)
Browse files Browse the repository at this point in the history
* Updating sample for consistency
  • Loading branch information
TomArcherMsft authored Oct 24, 2023
1 parent 03dbc8d commit 00b0311
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions quickstart/101-managed-lustre-create-filesystem/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion quickstart/101-managed-lustre-create-filesystem/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
6 changes: 3 additions & 3 deletions quickstart/101-managed-lustre-create-filesystem/providers.tf
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 00b0311

Please sign in to comment.