-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
The s3 backend does not respect the NO_PROXY variable #33987
Comments
We encounter this problem as well, but the other way around. Our atlantis server uses Terraform v1.6.0 and can't refresh the state from S3 anymore through our corporate proxy.
|
We encounter this problem as well. It seems like it's due to #33765 and there due to hashicorp/aws-sdk-go-base#81. Why did it work before? Because Golang uses the environmental proxy settings in the standard HTTPTransport, which has been used before.
An issue should be opened in aws-sdk-go-base to support |
Is there any workaround? |
@wernerwws 1.5.2 will work 1.6.X will not |
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. |
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/mnival/cb0857de9b72e2020bdc46b3ae00fbba
Expected Behavior
For requests to http://169.254.169.254/, Terraform should not use the proxy because I have the following NO_PROXY value:
NO_PROXY=169.254.169.254
Below is the result with Curl which uses the HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables:
Actual Behavior
Terraform only uses HTTP_PROXY and HTTPS_PROXY variables but not NO_PROXY. So some requests use a proxy even though they are only available when local and therefore without a proxy
Steps to Reproduce
terraform init
Additional Context
References
The text was updated successfully, but these errors were encountered: