From a242f2310bfafa9a00e5548d90bc6296b3f910f1 Mon Sep 17 00:00:00 2001 From: cshea15 Date: Sat, 23 Sep 2023 15:44:06 -0400 Subject: [PATCH] made changes --- quickstart/201-azfw-with-ipgroups/main.tf | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/quickstart/201-azfw-with-ipgroups/main.tf b/quickstart/201-azfw-with-ipgroups/main.tf index cb4a1e9c..3bdf6f8c 100644 --- a/quickstart/201-azfw-with-ipgroups/main.tf +++ b/quickstart/201-azfw-with-ipgroups/main.tf @@ -1,4 +1,4 @@ -resource "random_pet" "rg-name" { +resource "random_pet" "rg_name" { prefix = var.resource_group_name_prefix } @@ -10,8 +10,17 @@ resource "random_string" "storage_account_name" { upper = false } +resource "random_password" "password" { + length = 20 + min_lower = 1 + min_upper = 1 + min_numeric = 1 + min_special = 1 + special = true +} + resource "azurerm_resource_group" "rg" { - name = random_pet.rg-name.id + name = random_pet.rg_name.id location = var.resource_group_location } @@ -267,11 +276,4 @@ resource "azurerm_subnet_route_table_association" "jump_subnet_rt_association" { route_table_id = azurerm_route_table.rt.id } -resource "random_password" "password" { - length = 20 - min_lower = 1 - min_upper = 1 - min_numeric = 1 - min_special = 1 - special = true -} +