Reformatted create-vm-scaleset-network-disks-hcl

This commit is contained in:
Tom Archer 2021-07-28 12:12:40 -07:00
parent b4528513d2
commit b1b458ab50
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ resource "azurerm_public_ip" "vmss" {
name = "vmss-public-ip" name = "vmss-public-ip"
location = var.location location = var.location
resource_group_name = azurerm_resource_group.vmss.name resource_group_name = azurerm_resource_group.vmss.name
allocation_method = "Static" allocation_method = "Static"
domain_name_label = random_string.fqdn.result domain_name_label = random_string.fqdn.result
tags = var.tags tags = var.tags
} }
@ -148,7 +148,7 @@ resource "azurerm_public_ip" "jumpbox" {
name = "jumpbox-public-ip" name = "jumpbox-public-ip"
location = var.location location = var.location
resource_group_name = azurerm_resource_group.vmss.name resource_group_name = azurerm_resource_group.vmss.name
allocation_method = "Static" allocation_method = "Static"
domain_name_label = "${random_string.fqdn.result}-ssh" domain_name_label = "${random_string.fqdn.result}-ssh"
tags = var.tags tags = var.tags
} }

View File

@ -1,7 +1,7 @@
output "vmss_public_ip" { output "vmss_public_ip" {
value = azurerm_public_ip.vmss.fqdn value = azurerm_public_ip.vmss.fqdn
} }
output "jumpbox_public_ip" { output "jumpbox_public_ip" {
value = azurerm_public_ip.jumpbox.fqdn value = azurerm_public_ip.jumpbox.fqdn
} }