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

12 lines
207 B
Terraform
Raw Normal View History

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