Skip to content
Snippets Groups Projects
Commit ddc5ef9f authored by Rob Kooper's avatar Rob Kooper
Browse files

ssh use floating ip for controlplane

parent 3e598d19
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ output "ssh_config" {
%{~for i, x in openstack_compute_instance_v2.controlplane.*}
Host ${x.name}
HostName ${openstack_networking_port_v2.controlplane_ip_public[i].all_fixed_ips[0]}
HostName ${openstack_networking_floatingip_v2.controlplane_ip[i].address}
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
IdentityFile ${pathexpand("~/.ssh/${var.cluster_name}.pem")}
......
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