cloudcli-cookbook icon indicating copy to clipboard operation
cloudcli-cookbook copied to clipboard

s3_file does not honor proxy settings

Open atward opened this issue 8 years ago • 4 comments

https://github.com/cmlicata/cloudcli-cookbook/blob/master/providers/aws_s3_file.rb#L79

Proxy ENV settings are stripped from environment.

aws-cli honors http_proxy, https_proxy, and no_proxy which are the same used by Chef: https://docs.chef.io/proxies.html

These environment variables should be retained.

atward avatar Nov 02 '16 02:11 atward

See https://github.com/awslabs/awscli-cookbook/pull/15 for suitable change to awscli cookbook.

atward avatar Nov 02 '16 04:11 atward

@atward, would you still like to see this in 1.2.0?

cmlicata avatar Apr 03 '17 23:04 cmlicata

I believe the cookbook should be patched as suggested, but I'll defer release decisions to yourself. I have no immediate need for this as my tooling still uses the deprecated awscli-cookbook.

atward avatar Apr 03 '17 23:04 atward

Ok, I will be sure to add this in. Thanks for pointing it out.

cmlicata avatar Apr 03 '17 23:04 cmlicata