You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2020. It is now read-only.
but after terraform plan terraform gives an error Error initializing PostgreSQL client: error detecting capabilities: error PostgreSQL version: dial tcp 10.0.31.22:5432: getsockopt: connection timed out
Of course, I know that I can create following ssh config on my local PC:
Host bastion-multiplex
HostName _bastion-public-ip-here_
Port 22
User ec2-user
IdentityFile _path-to-ssh-key-here_
ControlMaster auto
ControlPersist 20m
LocalForward 54320 some-name.rds.amazonaws.com:5432
This issue was originally opened by @andreichernov as hashicorp/terraform#18591. It was migrated here as a result of the provider split. The original body of the issue is below.
How I can make some actions with Postgresql db on AWS RDS through bastion host in the same VPC
but after
terraform planterraform gives an errorError initializing PostgreSQL client: error detecting capabilities: error PostgreSQL version: dial tcp 10.0.31.22:5432: getsockopt: connection timed outOf course, I know that I can create following ssh config on my local PC:
or I can add null resource:
but I am looking for right terraform way to solve this.