-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage infrastructure from behind a proxy #523
Comments
+1 |
1 similar comment
+1 |
+1 |
As a temporary workaround I use iptables + redsocks to proxy outgoing terraform traffic, but real proxy support would be much better. |
+1 |
This is already supported natively by the Golang To set an HTTP proxy just set either the On Windows: On Mac/Linux: Hope this helps :) |
Yep @justnom is right - should be achievable via those environment variables. |
+1 |
2 similar comments
+1 |
+1 |
I'm trying to inspect traffic coming from terraform-openstack-provider to debug some auth issues (using https://www.charlesproxy.com/) and it's totally ignoring the env vars. These requests are not showing up in Charles.
Grabbing the pid of a plugin process (8586 here) and inspecting the environment before it shuts down...
So the plugin is getting the vars but they're not being used. I think the problem (at least in the case of the openstack provider) is that you're overriding the transport passed to gophercloud but not setting Proxy from the env like the DefaultTransport does. Each provider needs checking to ensure that it's either using the default transport or setting the proxy on its custom transport (AWS for instance uses go-cleanhttp which correctly sets proxies from env). |
Hello, I'm using terraform behind a proxy, and I don't think it's working for openstack. Pierre |
+1 |
Hello, I'm currently testing terraform and I'm also not able to get it working behind a corporate proxy with the openstack provider. Daniel +1 |
Not working with AWS provider too, even though variables are set |
Hello Same here. Not working with AWS provider too, even though variables are set. Although I was able to get it work once with the export proxy. Any idea? Thank you. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I'm working in an office that only allows outbound http/s connections via a proxy. This currently prevents use with AWS provider, and I assume others as well. It would be useful to have a way to configure terraform (command line and/or config files) with the proxy details.
Thanks
The text was updated successfully, but these errors were encountered: