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
OpenTofu should respect the NO_PROXY environment variable, specifically for requests to http://169.254.169.254. The NO_PROXY variable is set as follows:
export NO_PROXY="169.254.169.254"
Actual Behavior
OpenTofu only honors HTTP_PROXY and HTTPS_PROXY variables, ignoring the NO_PROXY setting. As a result, certain local requests use a proxy when they shouldn't.
Even though the issue appears to be in aws-sdk-go-base, we can probably fix this locally by resetting the HTTP_PROXY /HTTPS_PROXY env vars if NO_PROXY is set. I can investigate/tackle this one @cube2222 (I had misunderstood the meaning of NO_PROXY, so this won't work)
OpenTofu Version
OpenTofu Configuration Files
Debug Output
External gist link: Debug Output
Expected Behavior
OpenTofu should respect the
NO_PROXY
environment variable, specifically for requests tohttp://169.254.169.254
. TheNO_PROXY
variable is set as follows:Actual Behavior
OpenTofu only honors
HTTP_PROXY
andHTTPS_PROXY
variables, ignoring theNO_PROXY
setting. As a result, certain local requests use a proxy when they shouldn't.Steps to Reproduce
terraform init
Additional Context
References
The text was updated successfully, but these errors were encountered: