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
CC: @tim-finnigan as he's been active on the subject (1, 2), thanks Tim. We understand that boto, now based on urllib, doesn't support any proxy bypass list. Thus, there's currently no way to configure a single Config object (or use environment variables) with proxy configuration and a bypass/exception list to work in an environment with mixed requirements.
We are an enterprise with required outbound web proxies and many VPC endpoints deployed. So if a boto3 script needs to use, say, EC2 in the same region it can bypass proxy and use the VPC endpoint. If it also has to use IAM (for which we have no endpoint in our region), it must go out the proxy.
Thus, an example script needs to be aware of what services we do and don't have endpoints for, and use a proxy-aware configuration sometimes, like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
CC: @tim-finnigan as he's been active on the subject (1, 2), thanks Tim. We understand that boto, now based on urllib, doesn't support any proxy bypass list. Thus, there's currently no way to configure a single
Config
object (or use environment variables) with proxy configuration and a bypass/exception list to work in an environment with mixed requirements.We are an enterprise with required outbound web proxies and many VPC endpoints deployed. So if a boto3 script needs to use, say, EC2 in the same region it can bypass proxy and use the VPC endpoint. If it also has to use IAM (for which we have no endpoint in our region), it must go out the proxy.
Thus, an example script needs to be aware of what services we do and don't have endpoints for, and use a proxy-aware configuration sometimes, like:
Is there any hope for an enhancement here?
Beta Was this translation helpful? Give feedback.
All reactions