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
Our VPC requires the use of our managed HTTPS proxy for egress. I tried every possible way to set an environment variable to get the lambda to use the proxy. Nothing worked. I had to modify the code like this:
The proxy_use_forwarding_for_https is the critical bit of config. It might work without the proxies and be able to get the proxy directly from the environment variable, but I didn't test that combination. I just know that nothing worked until I set proxy_use_forwarding_for_https to True.
I'm sure this could all be made more generic so that you could control the proxy config without code changes, but I just wanted to share what worked for me.
The text was updated successfully, but these errors were encountered:
Our VPC requires the use of our managed HTTPS proxy for egress. I tried every possible way to set an environment variable to get the lambda to use the proxy. Nothing worked. I had to modify the code like this:
The
proxy_use_forwarding_for_https
is the critical bit of config. It might work without theproxies
and be able to get the proxy directly from the environment variable, but I didn't test that combination. I just know that nothing worked until I setproxy_use_forwarding_for_https
toTrue
.I'm sure this could all be made more generic so that you could control the proxy config without code changes, but I just wanted to share what worked for me.
The text was updated successfully, but these errors were encountered: