Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cshea-msft committed Oct 5, 2023
1 parent deee58f commit e24feee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions quickstart/201-azfw-with-ipgroups/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,16 @@ resource "azurerm_network_interface_security_group_association" "vm_jump_nsg_ass
}

resource "azurerm_linux_virtual_machine" "vm_server" {
name = "server-vm"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
size = var.virtual_machine_size
admin_username = var.admin_username
name = "server-vm"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
size = var.virtual_machine_size
admin_username = var.admin_username
admin_ssh_key {
username = var.admin_username
public_key = jsondecode(azapi_resource_action.ssh_public_key_gen.output).publicKey
}
network_interface_ids = [azurerm_network_interface.vm_server_nic.id]
network_interface_ids = [azurerm_network_interface.vm_server_nic.id]
os_disk {
caching = "ReadWrite"
storage_account_type = "Standard_LRS"
Expand Down
4 changes: 2 additions & 2 deletions quickstart/201-azfw-with-ipgroups/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "firewall_sku_tier" {
default = "Premium" # Valid values are Standard and Premium
validation {
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"
}
}

Expand All @@ -28,6 +28,6 @@ variable "virtual_machine_size" {

variable "admin_username" {
type = string
description = "value of the admin username."
description = "Value of the admin username."
default = "azureuser"
}

0 comments on commit e24feee

Please sign in to comment.