Reformatted create-vm-scaleset-network-disks-hcl
This commit is contained in:
parent
b4528513d2
commit
b1b458ab50
@ -43,7 +43,7 @@ resource "azurerm_public_ip" "vmss" {
|
||||
name = "vmss-public-ip"
|
||||
location = var.location
|
||||
resource_group_name = azurerm_resource_group.vmss.name
|
||||
allocation_method = "Static"
|
||||
allocation_method = "Static"
|
||||
domain_name_label = random_string.fqdn.result
|
||||
tags = var.tags
|
||||
}
|
||||
@ -148,7 +148,7 @@ resource "azurerm_public_ip" "jumpbox" {
|
||||
name = "jumpbox-public-ip"
|
||||
location = var.location
|
||||
resource_group_name = azurerm_resource_group.vmss.name
|
||||
allocation_method = "Static"
|
||||
allocation_method = "Static"
|
||||
domain_name_label = "${random_string.fqdn.result}-ssh"
|
||||
tags = var.tags
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
output "vmss_public_ip" {
|
||||
value = azurerm_public_ip.vmss.fqdn
|
||||
value = azurerm_public_ip.vmss.fqdn
|
||||
}
|
||||
|
||||
output "jumpbox_public_ip" {
|
||||
value = azurerm_public_ip.jumpbox.fqdn
|
||||
value = azurerm_public_ip.jumpbox.fqdn
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user