Skip to content
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

Add option to set the http proxy the SDK will use #223

Merged
merged 4 commits into from
Nov 17, 2017

Conversation

mince27
Copy link
Contributor

@mince27 mince27 commented Nov 16, 2017

Add a global option for setting a proxy that the SDK will send requests through.

This can also be achieved using environment variables but for some uses cases (e.g. mine) that is a bit unwieldy.

},
},
}
sessOptions.Config = aws.Config{HTTPClient: proxyHTTPClient}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 29 will conflict with line 19. If you pass both --region and --proxy then the --region will be ignored.

@cplee cplee added this to To do in 1.2.1 via automation Nov 16, 2017
Copy link
Contributor

@cplee cplee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cplee cplee merged commit 3e6cd58 into develop Nov 17, 2017
1.2.1 automation moved this from To do to Done Nov 17, 2017
@cplee cplee deleted the feature/sdk_proxy_option branch November 17, 2017 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1.2.1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants