Skip to content
Snippets Groups Projects
Commit d872df9a authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

added ssh host output

parent 213f7c00
No related branches found
No related tags found
No related merge requests found
......@@ -39,4 +39,8 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" {
user = var.ohpc_user
private_key = file(var.ssh_private_key)
}
}
output "ssh_host" {
value = format(var.host_prefix,element(split(".", var.floating_ip_ohpc),3,),)
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment