12 lines
222 B
Terraform
12 lines
222 B
Terraform
|
output "hostname" {
|
||
|
value = "${var.hostname}"
|
||
|
}
|
||
|
|
||
|
output "vm_fqdn" {
|
||
|
value = "${azurerm_public_ip.pip.fqdn}"
|
||
|
}
|
||
|
|
||
|
output "sshCommand" {
|
||
|
value = "${concat('ssh ', var.admin_username, '@', azurerm_public_ip.pip.fqdn)}"
|
||
|
}
|