Kaginari / terraform-provider-mongodb

Terraform provider for mongodb instance (selfhosted, AWS documentDB and cloud instances )
MIT License
24 stars 31 forks source link

Add SOCKS proxy support #30

Closed hkobayash closed 1 year ago

hkobayash commented 1 year ago

It allows you to proxy the requests to the MongoDB server through a SOCKS proxy, in case the MongoDB server cannot be reached directly.

henryjustinserrano commented 1 year ago

Hello, any idea when this PR might get looked at?

ITMonta commented 1 year ago

@hkobayash @henryjustinserrano , Sorry for the delay and thanks for the contribution. Version : v0.1.6 of the provider is published

timwisbauer-contsec commented 1 year ago

Would it be possible to also allow configuring the proxy via the provider, similar to how this mysql provider works? That way you could use a SOCKS proxy just for this provider and not all providers.

Configuring the provider: https://github.com/petoju/terraform-provider-mysql/blob/master/mysql/provider.go#L85-L92 Constructing the dialer: https://github.com/petoju/terraform-provider-mysql/blob/master/mysql/provider.go#L227-L245

ITMonta commented 1 year ago

we will work on that :)

ITMonta commented 1 year ago

31