terraform/examples/azure-vm-simple-linux/outputs.tf

12 lines
207 B
HCL

output "hostname" {
value = "${var.hostname}"
}
output "vm_fqdn" {
value = "${azurerm_public_ip.pip.fqdn}"
}
output "sshCommand" {
value = "ssh ${var.admin_username}@${azurerm_public_ip.pip.fqdn}"
}