fixed minor issues
This commit is contained in:
parent
f4a6a235e2
commit
67de624015
@ -1,6 +1,6 @@
|
|||||||
# Deploy Azure Firewall with multiple public IP addresses
|
# Deploy Azure Firewall with multiple public IP addresses
|
||||||
|
|
||||||
This template deploys an [Azure Firewall](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/firewall) with multiple [Public IP Address](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) from a public IP address prefix. The deployed firewall has NAT rule collection rules that allow RDP connections to two Windows Server 2019 virtual machines.\
|
This template deploys an [Azure Firewall](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/firewall) with multiple [Public IP Address](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) from a public IP address prefix. The deployed firewall has NAT rule collection rules that allow RDP connections to two Windows Server 2019 virtual machines.
|
||||||
|
|
||||||
## Terraform resource types
|
## Terraform resource types
|
||||||
|
|
||||||
@ -27,6 +27,6 @@ This template deploys an [Azure Firewall](https://registry.terraform.io/provider
|
|||||||
|-|-|-|
|
|-|-|-|
|
||||||
| `resource_group_location` | Location of the resource group | eastus |
|
| `resource_group_location` | Location of the resource group | eastus |
|
||||||
| `firewall_sku_tier` | SKU size for your Firewall and Firewall Policy. Possible values: Standard, Premium | Premium |
|
| `firewall_sku_tier` | SKU size for your Firewall and Firewall Policy. Possible values: Standard, Premium | Premium |
|
||||||
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so that name is unique in your Azure subscription. | rg |
|
| `resource_group_name_prefix` | 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` | SKU size for your jump and workload VMs | Standard_D2_v3 |
|
| `virtual_machine_size` | SKU size for your jump and workload VMs | Standard_D2_v3 |
|
||||||
| `admin_username` | THe admin username for the jump and workload VMs | azureuser |
|
| `admin_username` | THe admin username for the jump and workload VMs | azureuser |
|
@ -16,7 +16,7 @@ variable "firewall_sku_tier" {
|
|||||||
default = "Premium" # Valid values are Standard and Premium
|
default = "Premium" # Valid values are Standard and Premium
|
||||||
validation {
|
validation {
|
||||||
condition = contains(["Standard", "Premium"], var.firewall_sku_tier)
|
condition = contains(["Standard", "Premium"], var.firewall_sku_tier)
|
||||||
error_message = "The sku must be one of the following: Standard, Premium"
|
error_message = "The SKU must be one of the following: Standard, Premium"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,6 +28,6 @@ variable "virtual_machine_size" {
|
|||||||
|
|
||||||
variable "admin_username" {
|
variable "admin_username" {
|
||||||
type = string
|
type = string
|
||||||
description = "value of the admin username."
|
description = "Value of the admin username."
|
||||||
default = "azureuser"
|
default = "azureuser"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user