terraform/examples/azure-wordpress-mysql-repli.../outputs.tf

24 lines
514 B
HCL

output "resource_group" {
value = "${var.resource_group}"
}
output "fqdn" {
value = "${azurerm_public_ip.pip.fqdn}"
}
output "azure_website" {
value = "http://${var.dns_name}.azurewebsites.net"
}
output "ip_address" {
value = "${azurerm_public_ip.pip.ip_address}"
}
output "ssh_command_master" {
value = "ssh ${var.vm_admin_username}@${azurerm_public_ip.pip.ip_address} -p 64001"
}
output "ssh_command_slave" {
value = "ssh ${var.vm_admin_username}@${azurerm_public_ip.pip.ip_address} -p 64002"
}