Open mohsen0 opened 4 years ago
I can confirm that this still is not working in version 1.9.0 Needs to set version 1.8.0 to use SOCKS Thanks a lot for posting this @mohsen0 I had a hard time trying to figure out what was wrong.
I have been able to replicate the same issue. Wondering if this closed PR fix the bug #119.
Setting
export ALL_PROXY
to sock5 proxy created byssh -D
suppose to help the provider to connect to a MySQL instance behind a bastion box.But on version 1.8.0 this functionality works and in 1.9.0, it is broken.
Terraform Version
Terraform v0.12.21
Affected Resource(s)
provider connectivity to MySQL instance through a sock5 proxy
Terraform Configuration Files
Debug Output
Panic Output
ssh debug logs
Expected Behavior
What should have happened?
So when trying hit the endpoint with nc or previous version of the provider. it works, but the following logline in the ssh log is different.
instead of
Steps to Reproduce
Set the version of the provider to be 1.9.0. Set the
export ALL_PROXY=sock5://127.0.0.1:3306
Create the SSH proxyRun terraform init and plan