https://prefect.io logo
d

datamongus

07/21/2022, 7:37 PM
Are there any docs on how to use the Postgres Task while connecting via an ssh tunnel ? AKA A bastion server
k

Kevin Kho

07/21/2022, 7:43 PM
That I am not sure if it’s meant for. Do you know how to do it in Python without Prefect?
k

Kyle McChesney

07/21/2022, 9:53 PM
Should just be tweaking your connection string no? instead of
<http://database.aaaaaaa.us-west-2.rds.amazonaws.com|database.aaaaaaa.us-west-2.rds.amazonaws.com>
its
localhost
and instead of
5432
for the port its whatever you setup in the tunnel config
2 Views