From 757c9646ae7743673c2695547afe2ce2306d10c0 Mon Sep 17 00:00:00 2001 From: cshea15 Date: Tue, 3 Oct 2023 09:44:43 -0400 Subject: [PATCH] made minor changes --- quickstart/201-azfw-with-ipgroups/main.tf | 2 +- quickstart/201-azfw-with-ipgroups/readme.md | 12 ++++++------ quickstart/201-azfw-with-ipgroups/variables.tf | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/quickstart/201-azfw-with-ipgroups/main.tf b/quickstart/201-azfw-with-ipgroups/main.tf index 4c645cd29..7cae00ea2 100644 --- a/quickstart/201-azfw-with-ipgroups/main.tf +++ b/quickstart/201-azfw-with-ipgroups/main.tf @@ -261,7 +261,7 @@ resource "azurerm_route_table" "rt" { name = "azfwDefaultRoute" address_prefix = "0.0.0.0/0" next_hop_type = "VirtualAppliance" - next_hop_in_ip_address = azurerm_firewall.fw.ip_configuration.0.private_ip_address + next_hop_in_ip_address = azurerm_firewall.fw.ip_configuration[0].private_ip_address } } diff --git a/quickstart/201-azfw-with-ipgroups/readme.md b/quickstart/201-azfw-with-ipgroups/readme.md index 4144340f3..360db8d94 100644 --- a/quickstart/201-azfw-with-ipgroups/readme.md +++ b/quickstart/201-azfw-with-ipgroups/readme.md @@ -21,16 +21,16 @@ This template deploys an [Azure Firewall](https://registry.terraform.io/provider - [azurerm_storage_account](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account) - [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) - [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)} +- [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) ## Variables | Name | Description | Default value | |-|-|-| -| `resource_group_location` | location for your resources | eastus | -| `firewall_sku_tier` | Sku size for your Firewall and Firewall Policy | Premium | -| `resource_group_name_prefix` | Prefix for your resource group | rg | -| `virtual_machine_size` | Sku size for your jump and workload vms | Standard_D2_v3 | -| `admin_username` | admin username for the jump and workload vms | azureuser | +| `resource_group_location` | The location of the resource group. | eastus | +| `firewall_sku_tier` | the sku size for your Firewall and Firewall Policy. | Possible values: Standard, Premium | +| `resource_group_name_prefix` | The prefix of the resource group name that's combined with a random ID so that name is unique in your Azure subscription. | rg | +| `virtual_machine_size` | The sku size for your jump and workload VMs. | Standard_D2_v3 | +| `admin_username` | The admin username for the jump and workload VMs. | azureuser | ## Example \ No newline at end of file diff --git a/quickstart/201-azfw-with-ipgroups/variables.tf b/quickstart/201-azfw-with-ipgroups/variables.tf index a855798d7..fd4091224 100644 --- a/quickstart/201-azfw-with-ipgroups/variables.tf +++ b/quickstart/201-azfw-with-ipgroups/variables.tf @@ -27,5 +27,7 @@ variable "virtual_machine_size" { } variable "admin_username" { + type = string + description = "value of the admin username." default = "azureuser" } \ No newline at end of file