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

12 lines
222 B
Terraform
Raw Normal View History

output "hostname" {
value = "${var.hostname}"
}
output "vm_fqdn" {
value = "${azurerm_public_ip.pip.fqdn}"
}
output "sshCommand" {
2017-04-20 01:34:44 +02:00
value = "${concat("ssh ", var.admin_username, "@", azurerm_public_ip.pip.fqdn)}"
}