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
I am using this to backup and restore dynamodb table data for a company that requires the use of a corporate proxy.
I managed to get it working with a proxy by editing the cli.js file by adding:
• const proxy = require('proxy-agent'); at line 6
• AWS.config.update({
httpOptions: { agent: proxy('http://127.0.0.1:3128') }
});
at line 64
Obviously this requires installing proxy-agent locally, and this will assume you are always using a proxy, so any actual solution will probably want to use the cli arguments to pass in the proxy address and use this to determine whether to add the proxy config to the AWS config or not.
I could open up a PR if I get a chance to implement a proper solution hopefully soon, but in the meantime this may help anyone else having the same problem.
This package is very useful though so thank you for creating it.
The text was updated successfully, but these errors were encountered:
I am using this to backup and restore dynamodb table data for a company that requires the use of a corporate proxy.
I managed to get it working with a proxy by editing the cli.js file by adding:
• const proxy = require('proxy-agent'); at line 6
• AWS.config.update({
httpOptions: { agent: proxy('http://127.0.0.1:3128') }
});
at line 64
Obviously this requires installing proxy-agent locally, and this will assume you are always using a proxy, so any actual solution will probably want to use the cli arguments to pass in the proxy address and use this to determine whether to add the proxy config to the AWS config or not.
I could open up a PR if I get a chance to implement a proper solution hopefully soon, but in the meantime this may help anyone else having the same problem.
This package is very useful though so thank you for creating it.
The text was updated successfully, but these errors were encountered: