Update address to localhost to be consistent with other proxies

pull/9082/head
Wilken Rivera 6 years ago
parent 7cea7466ba
commit bf1da57a05

@ -29,7 +29,7 @@ func SSHHost(e ec2Describer, sshInterface string, host string) func(multistep.St
} }
if sshInterface == "session_manager" { if sshInterface == "session_manager" {
return "127.0.0.1", nil return "localhost", nil
} }
const tries = 2 const tries = 2

@ -13,7 +13,7 @@ const (
publicIP = "192.168.1.1" publicIP = "192.168.1.1"
privateDNS = "private.dns.test" privateDNS = "private.dns.test"
publicDNS = "public.dns.test" publicDNS = "public.dns.test"
localhost = "127.0.0.1" localhost = "localhost"
sshHostTemplate = "custom.host.value" sshHostTemplate = "custom.host.value"
) )

Loading…
Cancel
Save