-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Hi
Hope all is well!
I'm running the following command:
tern migrate --conn-string ${CONN_STR} --password ${PASSWORD} --migrations ./db/migrations --ssh-host ${BASTION_PUBLIC_IP} --ssh-user ec2-user
and am getting the following:
Unable to connect to PostgreSQL:
failed to connect to `host=... user=... database=...`: hostname resolving error (lookup <hostname>: no such host)
I am able to SSH into the host and then perform the DNS lookup successfully.
I suspect tern is performing the DNS lookup locally (where the host is inaccessible) as opposed to on the ssh machine (where the host is accessible).
Metadata
Metadata
Assignees
Labels
No labels