Fix Terraform outputs for Azure - Issue628
This commit is contained in:
@@ -19,7 +19,7 @@ output "win10_public_ip" {
|
||||
}
|
||||
|
||||
output "exchange_public_ip" {
|
||||
value = azurerm_public_ip.exchange-publicip[0].ip_address
|
||||
value = "${var.create_exchange_server ? azurerm_public_ip.exchange-publicip[0].ip_address : null}"
|
||||
}
|
||||
|
||||
output "ata_url" {
|
||||
@@ -43,5 +43,5 @@ output "velociraptor_url" {
|
||||
}
|
||||
|
||||
output "exchange_url" {
|
||||
value = local.exchange_url
|
||||
value = "${var.create_exchange_server ? local.exchange_url : null}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user