Small fixes for azure

This commit is contained in:
Chris Long
2021-03-13 21:41:20 -08:00
parent 2e6d3899f8
commit 4a8781f698
5 changed files with 14 additions and 9 deletions

View File

@@ -4,4 +4,5 @@ locals {
ata_url = "https://${azurerm_public_ip.wef-publicip.ip_address}"
guacamole_url = "http://${azurerm_public_ip.logger-publicip.ip_address}:8080/guacamole"
velociraptor_url = "https://${azurerm_public_ip.logger-publicip.ip_address}:9999"
exchange_url = "https://${azurerm_public_ip.exchange-publicip[0].ip_address}"
}

View File

@@ -553,7 +553,7 @@ resource "azurerm_virtual_machine" "exchange" {
}
storage_os_disk {
name = "OsDiskWef"
name = "OsDiskExchange"
caching = "ReadWrite"
create_option = "FromImage"
managed_disk_type = "Standard_LRS"

View File

@@ -18,6 +18,10 @@ output "win10_public_ip" {
value = azurerm_public_ip.win10-publicip.ip_address
}
output "exchange_public_ip" {
value = azurerm_public_ip.exchange-publicip[0].ip_address
}
output "ata_url" {
value = local.ata_url
}
@@ -39,5 +43,5 @@ output "velociraptor_url" {
}
output "exchange_url" {
value = local.velociraptor_url
value = local.exchange_url
}