Fix Terraform outputs for Azure - Issue628

This commit is contained in:
Chris Long
2021-03-29 20:26:41 -07:00
parent b664ebebf6
commit 280017ed2c
2 changed files with 3 additions and 3 deletions

View File

@@ -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}"
}