Commit 08826abc authored by Ryan Jones's avatar Ryan Jones
Browse files

updated host info to work with vars host prefix

parent 3ff52c1e
......@@ -86,7 +86,7 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" {
# defines ssh connection
connection {
host = "${format("var.host-prefix", element(split(".", openstack_networking_floatingip_v2.ip_pool.address),3))}"
host = "${format("${var.host-prefix}", element(split(".", openstack_networking_floatingip_v2.ip_pool.address),3))}"
user = "${var.ohpc-user}"
private_key = "${file(var.ssh-private-key)}"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment