Skip to content

Instantly share code, notes, and snippets.

@t-davies
Created February 13, 2019 14:26
Show Gist options
  • Save t-davies/8a98641ce8116f8a8b4dd83d7e6ec98a to your computer and use it in GitHub Desktop.
Save t-davies/8a98641ce8116f8a8b4dd83d7e6ec98a to your computer and use it in GitHub Desktop.
AWS.config.update({
httpOptions: {
agent: process.env.HTTPS_PROXY
? require('proxy-agent')(process.env.HTTPS_PROXY)
: undefined,
},
});
Copy link

ghost commented Feb 14, 2019

Nice..

Copy link

ghost commented Feb 14, 2019

I think we should have GREENSIDE or REDSIDE condition if required based on the scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment